]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix text decorations (#30492)
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Tue, 31 Mar 2020 18:42:38 +0000 (20:42 +0200)
committerGitHub <noreply@github.com>
Tue, 31 Mar 2020 18:42:38 +0000 (21:42 +0300)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
scss/_navbar.scss
site/assets/scss/_algolia.scss

index c21d9fd73647273c2a4746c2ff378416e584c1ba..129351d19302426732dac1477efb08146dcc42fb 100644 (file)
   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);
   }
 }
 
index b2e545871d4546005317d0e49d5b06aeecb6ad62..097dbdd55c7529d5114753d32984fb015a26855b 100644 (file)
 
 .algolia-docsearch-suggestion {
   display: block;
-
-  &:hover {
-    text-decoration: none;
-  }
+  text-decoration: none;
 }
 
 .algolia-docsearch-suggestion--subcategory-column {