mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
Navbar toggle is not vertically aligned (3.0.0-wip) with custom navbar height
When using navbar heights higher that default, the navbar-toggle button is not centered. Fiddle demonstrating this issue (compiled with `@navbar-height: 60px;`): http://jsfiddle.net/tagliala/mRVMe/2/ Another fiddle with the proposed fix: http://jsfiddle.net/tagliala/mRVMe/3/
This commit is contained in:
@@ -117,7 +117,7 @@
|
|||||||
// Collapsible navbar toggle
|
// Collapsible navbar toggle
|
||||||
.navbar-toggle {
|
.navbar-toggle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: floor((@navbar-height - 32) / 2);
|
||||||
right: 10px;
|
right: 10px;
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
Reference in New Issue
Block a user