Fix text decorations (#30492)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Martijn Cuppens 2020-03-31 20:42:38 +02:00 committed by GitHub
parent df707cd727
commit 6dfe8e02d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -57,11 +57,12 @@
padding-bottom: $navbar-brand-padding-y; padding-bottom: $navbar-brand-padding-y;
margin-right: $navbar-brand-margin-right; margin-right: $navbar-brand-margin-right;
@include font-size($navbar-brand-font-size); @include font-size($navbar-brand-font-size);
text-decoration: if($link-decoration == none, null, none);
white-space: nowrap; white-space: nowrap;
&:hover, &:hover,
&:focus { &:focus {
text-decoration: none; text-decoration: if($link-hover-decoration == underline, none, null);
} }
} }

View File

@ -46,10 +46,7 @@
.algolia-docsearch-suggestion { .algolia-docsearch-suggestion {
display: block; display: block;
text-decoration: none;
&:hover {
text-decoration: none;
}
} }
.algolia-docsearch-suggestion--subcategory-column { .algolia-docsearch-suggestion--subcategory-column {