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:
committed by
Mark Otto
parent
8c87e019a5
commit
5f3856ce29
@@ -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;
|
||||
|
Reference in New Issue
Block a user