Skip to content

Commit

Permalink
Update .navbar-toggle to match other navbar el
Browse files Browse the repository at this point in the history
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
  • Loading branch information
James Holland committed Aug 3, 2013
1 parent fce2e89 commit 744b79a
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 @@ -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;
Expand Down

0 comments on commit 744b79a

Please sign in to comment.