bootstrap-4

Bootstrap 4 Expand Column To Sidebar on XL Screens Otherwise Order Between Two Content Areas

风流意气都作罢 提交于 2020-07-10 10:28:19
问题 This is what I want it to look like on a full-screen desktop/laptop. On medium / smaller devices, I want the right sidebar to collapse in and under the search input area and before the content area. Smaller Devices (Fold sidebar into) I think this can be achieved with Bootstrap order classes but not sure about what grid layout structure (container, rows, columns) to achieve this. The code below shows a large blank area below the search area when on xl screens. I want the content area to fill

Bootstrap 4 Expand Column To Sidebar on XL Screens Otherwise Order Between Two Content Areas

江枫思渺然 提交于 2020-07-10 10:27:59
问题 This is what I want it to look like on a full-screen desktop/laptop. On medium / smaller devices, I want the right sidebar to collapse in and under the search input area and before the content area. Smaller Devices (Fold sidebar into) I think this can be achieved with Bootstrap order classes but not sure about what grid layout structure (container, rows, columns) to achieve this. The code below shows a large blank area below the search area when on xl screens. I want the content area to fill

Mobile NavBar Bootstrap with left bar icon and right aligned icons

淺唱寂寞╮ 提交于 2020-07-10 02:48:47
问题 I'm using Bootstrap 4. I'd like to create a android like navbar with bar icon item to be on the far left. exactly as per the image And other icons on the right side of the navbar. I've tried applying ml-auto, mx-auto, mr-auto, pull-right, etc. Nothing does what I want. mx-auto was nice for the small screen. It put the navbar-brand centered when the hamburger menu is there. However, I need something that works when the regular menu is there. What i have tried is below but the items break on

Bootstrap 4: scroll table body

岁酱吖の 提交于 2020-07-10 01:58:26
问题 I have a huge table that I am trying to display in a mobile-friendly manner, using Bootstrap 4. My table has a variable number of columns (<10) and rows (up to 100). Is there a CSS solution allowing me to have: a fixed header, with each column having the same width as "its" rows a scrollable body on x/y when width/height exceed the container size the header scrolling on x with the table body rows never being wrapped be it on mobile / large desktop no JS if possible Can't find a solution,

Bootstrap 4: scroll table body

核能气质少年 提交于 2020-07-10 01:56:13
问题 I have a huge table that I am trying to display in a mobile-friendly manner, using Bootstrap 4. My table has a variable number of columns (<10) and rows (up to 100). Is there a CSS solution allowing me to have: a fixed header, with each column having the same width as "its" rows a scrollable body on x/y when width/height exceed the container size the header scrolling on x with the table body rows never being wrapped be it on mobile / large desktop no JS if possible Can't find a solution,

Bootstrap 4: scroll table body

孤街醉人 提交于 2020-07-10 01:55:36
问题 I have a huge table that I am trying to display in a mobile-friendly manner, using Bootstrap 4. My table has a variable number of columns (<10) and rows (up to 100). Is there a CSS solution allowing me to have: a fixed header, with each column having the same width as "its" rows a scrollable body on x/y when width/height exceed the container size the header scrolling on x with the table body rows never being wrapped be it on mobile / large desktop no JS if possible Can't find a solution,

Spacing & sizing columns using Bootstrap 4

China☆狼群 提交于 2020-07-09 17:59:24
问题 I'm working on a project and I'm having some trouble getting everything to line up correctly with the right spacing. What should I do (using the col class and bootstrap 4 exclusively, no CSS) to get this to work? Ive tried multiple margin spacing (e.g ml-md-4) and offsetting (e.g offset-md-1) and nothing seems to work. 回答1: Columns have padding to create the gutter (spacing between columns). Therefore, the background colors will blends together unless you put the background on the contents of

Spacing & sizing columns using Bootstrap 4

拥有回忆 提交于 2020-07-09 17:57:21
问题 I'm working on a project and I'm having some trouble getting everything to line up correctly with the right spacing. What should I do (using the col class and bootstrap 4 exclusively, no CSS) to get this to work? Ive tried multiple margin spacing (e.g ml-md-4) and offsetting (e.g offset-md-1) and nothing seems to work. 回答1: Columns have padding to create the gutter (spacing between columns). Therefore, the background colors will blends together unless you put the background on the contents of

Bootstrap 4 alignment in IE 11

瘦欲@ 提交于 2020-07-09 05:22:39
问题 I'm converting one of my websites from AngularJs / Bootstrap 3 to Angular 6 / Bootstrap. In Chrome and firefox, and edige, my modal looks like this: However, in IE11 The code: <div class="container"> <div class="modal-header"> </div> <div class="modal-body"> <form [formGroup]="loginForm" (keydown.enter)="onKeydown($event)"> <div class="row form-group"> <div class="col-12"> <input type="email" class="form-control" placeholder="Email" formControlName="userName" required autofocus /> <p *ngIf="

Vue2-leaflet map not showing properly in BoostrapVue modal

假装没事ソ 提交于 2020-07-09 03:19:10
问题 Here's my problem - a Vue2 leaflet map does not render correctly in BootstrapVue modal. Here's what it looks like visually (it should show just the ocean) <template> <div> <b-modal size="lg" :visible="visible" @hidden="$emit('clear')" title="Event details"> <div class="foobar1"> <l-map :center="center" :zoom="13" ref="mymap"> <l-tile-layer :url="url" :attribution="attribution"></l-tile-layer> <l-marker :lat-lng="center"></l-marker> </l-map> </div> <template slot="modal-footer"> <b-btn variant