Skip to content

Commit

Permalink
Merge pull request twbs#13464 from nickcolley/twbs#13325-navbar-right…
Browse files Browse the repository at this point in the history
…-first

Changed last-child to first-child to fix twbs#13325
  • Loading branch information
mdo committed Jul 6, 2014
2 parents bae2c55 + dd0b0cd commit f9fde56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
}
}

&.navbar-right:last-child {
&.navbar-right:first-child {
margin-right: -@navbar-padding-horizontal;
}
}
Expand Down Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit f9fde56

Please sign in to comment.