mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +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:
parent
fce2e89b7d
commit
bf0f3c7c1c
@ -28,7 +28,7 @@
|
|||||||
padding-top: ((@navbar-height - @line-height-computed) / 2);
|
padding-top: ((@navbar-height - @line-height-computed) / 2);
|
||||||
padding-bottom: ((@navbar-height - @line-height-computed) / 2);
|
padding-bottom: ((@navbar-height - @line-height-computed) / 2);
|
||||||
color: @navbar-link-color;
|
color: @navbar-link-color;
|
||||||
line-height: 20px;
|
line-height: @line-height-computed;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user