0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01: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:
Geremia Taglialatela 2013-07-25 17:09:12 +02:00
parent e9c83647af
commit 0017f7fca4

View File

@ -117,7 +117,7 @@
// Collapsible navbar toggle
.navbar-toggle {
position: absolute;
top: 10px;
top: floor((@navbar-height - 32) / 2);
right: 10px;
width: 48px;
height: 32px;