diff options
| author | James Holland <[email protected]> | 2013-08-03 10:28:17 -0400 |
|---|---|---|
| committer | James Holland <[email protected]> | 2013-08-03 10:28:17 -0400 |
| commit | 744b79a6662a82a01b87cccedc242b3aff6cfae9 (patch) | |
| tree | 131f2b5176a1deb1b341ab5ba3548da1f2ba3508 | |
| parent | fce2e89b7d772fcac3bf49117f203ec32c751dfe (diff) | |
| download | bootstrap-744b79a6662a82a01b87cccedc242b3aff6cfae9.tar.xz bootstrap-744b79a6662a82a01b87cccedc242b3aff6cfae9.zip | |
Update .navbar-toggle to match other navbar el
In place of commit #9040, fix #8844
And sizing .navbar-toggle more like .btn elem
+ change `position:absolute` to `position:relative`
+ remove `right: 10px` in favor of `float:right`
+ change to `height: 34px`
+ remove `top:` in favor of `.navbar-vertical-align` basis new height
+ change `padding:` to match `.btn` el
| -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 44e2d9f3f..37de0b4a2 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -116,12 +116,12 @@ // Collapsible navbar toggle .navbar-toggle { - position: absolute; - top: floor((@navbar-height - 32) / 2); - right: 10px; + position: relative; + float: right; + height: 34px; width: 48px; - height: 32px; - padding: 8px 12px; + .navbar-vertical-align(34px); + padding: @padding-base-vertical @padding-base-horizontal; background-color: transparent; border: 1px solid @navbar-toggle-border-color; border-radius: @border-radius-base; |
