mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-09 07:06:36 +02:00
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
This commit is contained in:
@@ -116,12 +116,12 @@
|
|||||||
|
|
||||||
// Collapsible navbar toggle
|
// Collapsible navbar toggle
|
||||||
.navbar-toggle {
|
.navbar-toggle {
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: floor((@navbar-height - 32) / 2);
|
float: right;
|
||||||
right: 10px;
|
height: 34px;
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 32px;
|
.navbar-vertical-align(34px);
|
||||||
padding: 8px 12px;
|
padding: @padding-base-vertical @padding-base-horizontal;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 1px solid @navbar-toggle-border-color;
|
border: 1px solid @navbar-toggle-border-color;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
|
Reference in New Issue
Block a user