1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 03:41:19 +02:00

removes hardcoded value for nav-link padding

This commit is contained in:
Andres Galante
2017-12-29 08:18:13 -03:00
committed by Mark Otto
parent 8c87e019a5
commit 5f3856ce29
2 changed files with 4 additions and 2 deletions

View File

@@ -585,6 +585,8 @@ $nav-pills-link-active-bg: $component-active-bg !default;
$navbar-padding-y: ($spacer / 2) !default;
$navbar-padding-x: $spacer !default;
$navbar-nav-link-padding-x: .5rem !default;
$navbar-brand-font-size: $font-size-lg !default;
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
$nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;