diff options
| author | Geremia Taglialatela <[email protected]> | 2013-07-25 17:09:12 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2013-07-25 17:09:12 +0200 |
| commit | 0017f7fca4d34b37b63275f1aab79baad16ed5e1 (patch) | |
| tree | 7a859d43d4efa5b24abc8a17ab122396bd09681e | |
| parent | e9c83647afb90b95ab8d8e86fa33bb5c71768f2d (diff) | |
| download | bootstrap-0017f7fca4d34b37b63275f1aab79baad16ed5e1.tar.xz bootstrap-0017f7fca4d34b37b63275f1aab79baad16ed5e1.zip | |
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/
| -rw-r--r-- | less/navbar.less | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/less/navbar.less b/less/navbar.less index c87c8e68c..3e0e58b28 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -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; |
