bootstrap-4

Scrolling a dropdown in a modal in Bootstrap4

折月煮酒 提交于 2020-01-05 03:04:09
问题 I'm currently migrating from Bootstrap4 alpha to Bootstrap4 stable. So far, so good, except this problem I have with my modals. I'm using dropdowns everywhere, including ones with many items. Previously, the scrolling was working perfectly. Now it does not: when I scroll, this is the modal filter (.modal-backdrop) that is scrolling, and not the dropdown's list. Here is a full page example: https://www.codeply.com/go/JKlWFeOgtU 回答1: Another workaround is to set an empty data-boundary on the

Bootstrap sticky-top on sidebar column doesn't work [duplicate]

一个人想着一个人 提交于 2020-01-04 23:55:53
问题 This question already has an answer here : Why is 'position: sticky' not working with Core UI's Bootstrap CSS (1 answer) Closed 9 months ago . I'm trying to create a sticky sidebar on the right. The sidebar menu is inside a grid column. I'm using the sticky-top class as shown in this question, but it still doesn't work. Here's the code... <div class="container min-vh-100 overflow-hidden"> <nav class="navbar navbar-light navbar-expand"> <a class="navbar-brand" href="#">Brand</a> <ul class=

how to use bootstrap 4 themes with vuejs

青春壹個敷衍的年華 提交于 2020-01-04 13:46:11
问题 There are several Bootstrap 4 themes that make styling and laying out a website easy. Some of these require that our assets folders be layed out in very specific ways, for example: https://htmlstream.com/public/preview/stream-ui-kit/docs.html root-folder/ ├── assets/ │ ├── css/ │ │ ├── styles.css │ │ ├── min.styles.css │ ├── img/ │ │ ├── ... │ ├── img-temp/ │ │ ├── ... │ ├── include/ │ │ ├── scss/ │ │ │ ├── ... │ ├── js/ │ │ ├── global.js │ │ ├── ... │ ├── vendor/ │ │ ├── bootstrap/ │ │ ├──

Body background blur functionality not working well universally

て烟熏妆下的殇ゞ 提交于 2020-01-04 13:15:21
问题 I have created a modal wherein i have made the body background to be blurred when a modal window is opened , Its working perfectly with a set of html codes but having issue with other html codes ( sounds quite weird to me when the css and JavaScript used are exactly same ) Issue is that when the modal window is opened (in non working html code ), both the modal window and background together goes blur and stays forever like that ...in the other HTML code code its working perfectly. Only the

Adding a subtitle to a Bootstrap Navbar

心不动则不痛 提交于 2020-01-04 11:45:20
问题 I have a Bootstrap 4 website with a navbar. The navbar has a brand part with an image and title text, and then there's the rest of the navbar. You can see it here: https://jsfiddle.net/zmbq/aq9Laaew/218793/ Now, I want to add a subtitle, under the title "A Digital Onomasticon". The problem is - the substitle is long, and I want it to extend below the nav links. I tried everything I could think of and couldn't figure out how to do that. NOTE: the answer to this question is not sufficient, as

Adding a subtitle to a Bootstrap Navbar

荒凉一梦 提交于 2020-01-04 11:45:09
问题 I have a Bootstrap 4 website with a navbar. The navbar has a brand part with an image and title text, and then there's the rest of the navbar. You can see it here: https://jsfiddle.net/zmbq/aq9Laaew/218793/ Now, I want to add a subtitle, under the title "A Digital Onomasticon". The problem is - the substitle is long, and I want it to extend below the nav links. I tried everything I could think of and couldn't figure out how to do that. NOTE: the answer to this question is not sufficient, as

Bootstrap 4 navbar with 2 rows and inline form

情到浓时终转凉″ 提交于 2020-01-03 16:41:09
问题 Ok so there are a number of questions like this but after having experimented with the code in some of the answers given to other similar questions, I'm still stuck! I've managed to get 2 flex rows working in a flex column, with the brand image vertically centered, but I'm having trouble with the horizontal spacing. On the first row of my navbar I have a list of nav-items and also an inline form with a search bar. I want the search bar to be right aligned, while the nav-items stay left

Justify Nav-pills with Bootstrap v4

不问归期 提交于 2020-01-03 09:45:50
问题 I want to justify my navigation bar across the width of the div. The trouble is that I use Bootstrap v4 and the nav-justify class is not yet available. Here is the code: <ul class="nav nav-pills"> <li class="nav-item"> <a class="nav-link active" href="#subscribed" data-toggle="tab">Mes inscriptions</a> </li> <li class="nav-item"> <a class="nav-link" href="#eventPassed" data-toggle="tab">Événements passés</a> </li> <li class="nav-item"> <a class="nav-link" href="#eventNow" data-toggle="tab"

Justify Nav-pills with Bootstrap v4

左心房为你撑大大i 提交于 2020-01-03 09:45:06
问题 I want to justify my navigation bar across the width of the div. The trouble is that I use Bootstrap v4 and the nav-justify class is not yet available. Here is the code: <ul class="nav nav-pills"> <li class="nav-item"> <a class="nav-link active" href="#subscribed" data-toggle="tab">Mes inscriptions</a> </li> <li class="nav-item"> <a class="nav-link" href="#eventPassed" data-toggle="tab">Événements passés</a> </li> <li class="nav-item"> <a class="nav-link" href="#eventNow" data-toggle="tab"

Can't load popper.js with webpack and Laravel mix

风流意气都作罢 提交于 2020-01-03 08:50:12
问题 I'm using bootstrap 4 beta and Laravel 5.4 on my project and loading my js dependencies with npm and laravel mix. So far everything has been working great, except when i'm trying to use the booostrap js methods. It throws me the error "Bootstrap dropdown require Popper.js", so i downloaded and loaded it in the bootstrap.js and webpack.mix.js files, but it still is asking for this dependency, can you tell me what i did wrong ? boostrap.js try { window.$ = window.jQuery = require('jquery');