0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

using @line-height-computed in .navbar-nav link

When a user changed the @line-height-base/@line-height-computed var, the
nav-bar items would not scale appropriately.
This commit is contained in:
Maurice Fonk 2013-08-03 15:07:43 -04:00
parent fce2e89b7d
commit bf0f3c7c1c

View 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 {