mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01: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:
commit
f9fde567be
@ -272,7 +272,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.navbar-right:last-child {
|
||||
&.navbar-right:first-child {
|
||||
margin-right: -@navbar-padding-horizontal;
|
||||
}
|
||||
}
|
||||
@ -327,8 +327,8 @@
|
||||
padding-bottom: 0;
|
||||
.box-shadow(none);
|
||||
|
||||
// Outdent the form if last child to line up with content down the page
|
||||
&.navbar-right:last-child {
|
||||
// Outdent the form if first child to line up with content down the page
|
||||
&.navbar-right:first-child {
|
||||
margin-right: -@navbar-padding-horizontal;
|
||||
}
|
||||
}
|
||||
@ -376,8 +376,8 @@
|
||||
margin-left: @navbar-padding-horizontal;
|
||||
margin-right: @navbar-padding-horizontal;
|
||||
|
||||
// Outdent the form if last child to line up with content down the page
|
||||
&.navbar-right:last-child {
|
||||
// Outdent the form if first child to line up with content down the page
|
||||
&.navbar-right:first-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user