diff options
| author | Mark Otto <[email protected]> | 2014-07-05 18:51:47 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-05 18:51:47 -0700 |
| commit | f9fde567be3c3ca7161351702f358b9db6ef7283 (patch) | |
| tree | 490d27d51b41146a758047eeff5713c1dda99102 /less | |
| parent | bae2c55a52cb873f71037651c96deb7553d429e9 (diff) | |
| parent | dd0b0cd664c800e0a1c6a4848716aa85d8eec66f (diff) | |
| download | bootstrap-f9fde567be3c3ca7161351702f358b9db6ef7283.tar.xz bootstrap-f9fde567be3c3ca7161351702f358b9db6ef7283.zip | |
Merge pull request #13464 from nickcolley/#13325-navbar-right-first
Changed last-child to first-child to fix #13325
Diffstat (limited to 'less')
| -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 1371865ed..571a186d2 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -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; } } |
