Skip to content

Commit

Permalink
Changed last-child to first-child
Browse files Browse the repository at this point in the history
As noted by @jerem the first child will actually be the last shown
  • Loading branch information
NickColley committed Apr 30, 2014
1 parent bde5f1f commit dd0b0cd
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 @@ -271,7 +271,7 @@
}
}

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

Please sign in to comment.