0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fixes #8206: Use navbar height var to compute vertical padding on navbar-brand

This commit is contained in:
Mark Otto 2013-07-18 02:23:38 -07:00
parent 64efa86036
commit b372661a17

View File

@ -177,7 +177,7 @@
@navbar-color: #777;
@navbar-bg: #eee;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2); // ~15px
@navbar-padding-vertical: 15px;
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
// Navbar links
@navbar-link-color: #777;