]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
using @line-height-computed in .navbar-nav link 9045/head
authorMaurice Fonk <git@naneau.net>
Sat, 3 Aug 2013 19:07:43 +0000 (15:07 -0400)
committerMaurice Fonk <git@naneau.net>
Sat, 3 Aug 2013 19:09:56 +0000 (15:09 -0400)
When a user changed the @line-height-base/@line-height-computed var, the
nav-bar items would not scale appropriately.

less/navbar.less

index 44e2d9f3f05f5c8f15780505c5e7ebe773b25e97..8234fc09980e231ae8fefb80a47d6748c842c6ec 100644 (file)
@@ -28,7 +28,7 @@
     padding-top: ((@navbar-height - @line-height-computed) / 2);
     padding-bottom: ((@navbar-height - @line-height-computed) / 2);
     color: @navbar-link-color;
-    line-height: 20px;
+    line-height: @line-height-computed;
     border-radius: @border-radius-base;
     &:hover,
     &:focus {