diff options
| author | Martijn Cuppens <[email protected]> | 2020-03-31 20:42:38 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-31 21:42:38 +0300 |
| commit | 6dfe8e02d7d5e1cceaf5831bb07295ec7106d91c (patch) | |
| tree | c4083f474397c7750d5441027541896a214d7818 | |
| parent | df707cd7272f9165dda895f08bdd15d093d96a25 (diff) | |
| download | bootstrap-6dfe8e02d7d5e1cceaf5831bb07295ec7106d91c.tar.xz bootstrap-6dfe8e02d7d5e1cceaf5831bb07295ec7106d91c.zip | |
Fix text decorations (#30492)
Co-authored-by: XhmikosR <[email protected]>
| -rw-r--r-- | scss/_navbar.scss | 3 | ||||
| -rw-r--r-- | site/assets/scss/_algolia.scss | 5 |
2 files changed, 3 insertions, 5 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); } } diff --git a/site/assets/scss/_algolia.scss b/site/assets/scss/_algolia.scss index b2e545871..097dbdd55 100644 --- a/site/assets/scss/_algolia.scss +++ b/site/assets/scss/_algolia.scss @@ -46,10 +46,7 @@ .algolia-docsearch-suggestion { display: block; - - &:hover { - text-decoration: none; - } + text-decoration: none; } .algolia-docsearch-suggestion--subcategory-column { |
