diff options
| author | Nick Colley <[email protected]> | 2014-04-30 00:57:41 +0100 |
|---|---|---|
| committer | Nick Colley <[email protected]> | 2014-04-30 01:08:24 +0100 |
| commit | dd0b0cd664c800e0a1c6a4848716aa85d8eec66f (patch) | |
| tree | 51da2835032b105ac2021ad7872525f8bf2fe1b1 | |
| parent | bde5f1fe9f837cce036821be5aaf6c40e19a8097 (diff) | |
| download | bootstrap-dd0b0cd664c800e0a1c6a4848716aa85d8eec66f.tar.xz bootstrap-dd0b0cd664c800e0a1c6a4848716aa85d8eec66f.zip | |
Changed last-child to first-child
As noted by @jerem the first child will actually be the last shown
| -rw-r--r-- | less/navbar.less | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/less/navbar.less b/less/navbar.less index b5e9a5f8d..c4bd0c4a5 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -271,7 +271,7 @@ } } - &.navbar-right:last-child { + &.navbar-right:first-child { margin-right: -@navbar-padding-horizontal; } } @@ -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; } } @@ -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; } } |
