mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 05:03:16 +02:00
Merge pull request #13464 from nickcolley/#13325-navbar-right-first
Changed last-child to first-child to fix #13325
This commit is contained in:
@@ -272,7 +272,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.navbar-right:last-child {
|
&.navbar-right:first-child {
|
||||||
margin-right: -@navbar-padding-horizontal;
|
margin-right: -@navbar-padding-horizontal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -327,8 +327,8 @@
|
|||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
|
|
||||||
// Outdent the form if last child to line up with content down the page
|
// Outdent the form if first child to line up with content down the page
|
||||||
&.navbar-right:last-child {
|
&.navbar-right:first-child {
|
||||||
margin-right: -@navbar-padding-horizontal;
|
margin-right: -@navbar-padding-horizontal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -376,8 +376,8 @@
|
|||||||
margin-left: @navbar-padding-horizontal;
|
margin-left: @navbar-padding-horizontal;
|
||||||
margin-right: @navbar-padding-horizontal;
|
margin-right: @navbar-padding-horizontal;
|
||||||
|
|
||||||
// Outdent the form if last child to line up with content down the page
|
// Outdent the form if first child to line up with content down the page
|
||||||
&.navbar-right:last-child {
|
&.navbar-right:first-child {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user