diff options
author | Geremia Taglialatela <tagliala.dev@gmail.com> | 2013-07-25 19:09:12 +0400 |
---|---|---|
committer | Geremia Taglialatela <tagliala.dev@gmail.com> | 2013-07-25 19:09:12 +0400 |
commit | 0017f7fca4d34b37b63275f1aab79baad16ed5e1 (patch) | |
tree | 7a859d43d4efa5b24abc8a17ab122396bd09681e /less/navbar.less | |
parent | e9c83647afb90b95ab8d8e86fa33bb5c71768f2d (diff) |
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/
Diffstat (limited to 'less/navbar.less')
-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 c87c8e68c3..3e0e58b288 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; |