0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +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:
Mark Otto 2014-07-05 18:51:47 -07:00
commit f9fde567be

View File

@ -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;
}
}