mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
removes hardcoded value for nav-link padding
This commit is contained in:
parent
8c87e019a5
commit
5f3856ce29
@ -168,8 +168,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
padding-right: .5rem;
|
padding-right: $navbar-nav-link-padding-x;
|
||||||
padding-left: .5rem;
|
padding-left: $navbar-nav-link-padding-x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -585,6 +585,8 @@ $nav-pills-link-active-bg: $component-active-bg !default;
|
|||||||
$navbar-padding-y: ($spacer / 2) !default;
|
$navbar-padding-y: ($spacer / 2) !default;
|
||||||
$navbar-padding-x: $spacer !default;
|
$navbar-padding-x: $spacer !default;
|
||||||
|
|
||||||
|
$navbar-nav-link-padding-x: .5rem !default;
|
||||||
|
|
||||||
$navbar-brand-font-size: $font-size-lg !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
|
// 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;
|
$nav-link-height: ($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
|
||||||
|
Loading…
Reference in New Issue
Block a user