mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
move flex to navbar container only; otherwise it affects things negatively elsewhere
This commit is contained in:
parent
135bd0283d
commit
73da266009
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
@include media-breakpoint-up(sm) {
|
@include media-breakpoint-up(sm) {
|
||||||
display: flex;
|
display: flex;
|
||||||
// flex: 0 0 auto;
|
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
// For nesting containers, have to redeclare for alignment purposes
|
// For nesting containers, have to redeclare for alignment purposes
|
||||||
> .container {
|
> .container {
|
||||||
|
display: flex;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
// Generate semantic grid columns with these mixins.
|
// Generate semantic grid columns with these mixins.
|
||||||
|
|
||||||
@mixin make-container($gutters: $grid-gutter-widths) {
|
@mixin make-container($gutters: $grid-gutter-widths) {
|
||||||
display: flex;
|
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user