Skip to content

Commit

Permalink
Fix text decorations (#30492)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
MartijnCuppens and XhmikosR committed Mar 31, 2020
1 parent df707cd commit 6dfe8e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
5 changes: 1 addition & 4 deletions site/assets/scss/_algolia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@

.algolia-docsearch-suggestion {
display: block;

&:hover {
text-decoration: none;
}
text-decoration: none;
}

.algolia-docsearch-suggestion--subcategory-column {
Expand Down

0 comments on commit 6dfe8e0

Please sign in to comment.