From 0017f7fca4d34b37b63275f1aab79baad16ed5e1 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 25 Jul 2013 17:09:12 +0200 Subject: [PATCH] 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/ --- less/navbar.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;