aboutsummaryrefslogtreecommitdiff
path: root/scss/_navbar.scss
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-03-31 20:42:38 +0200
committerGitHub <[email protected]>2020-03-31 21:42:38 +0300
commit6dfe8e02d7d5e1cceaf5831bb07295ec7106d91c (patch)
treec4083f474397c7750d5441027541896a214d7818 /scss/_navbar.scss
parentdf707cd7272f9165dda895f08bdd15d093d96a25 (diff)
downloadbootstrap-6dfe8e02d7d5e1cceaf5831bb07295ec7106d91c.tar.xz
bootstrap-6dfe8e02d7d5e1cceaf5831bb07295ec7106d91c.zip
Fix text decorations (#30492)
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'scss/_navbar.scss')
-rw-r--r--scss/_navbar.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss
index c21d9fd73..129351d19 100644
--- a/scss/_navbar.scss
+++ b/scss/_navbar.scss
@@ -57,11 +57,12 @@
padding-bottom: $navbar-brand-padding-y;
margin-right: $navbar-brand-margin-right;
@include font-size($navbar-brand-font-size);
+ text-decoration: if($link-decoration == none, null, none);
white-space: nowrap;
&:hover,
&:focus {
- text-decoration: none;
+ text-decoration: if($link-hover-decoration == underline, none, null);
}
}