Skip to content

Commit

Permalink
Blocking site header buttons's underline on hover (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
ollips authored Nov 5, 2024
1 parent 4173db2 commit 920130e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-starfishes-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@microsoft/atlas-css': minor
---

Blocking underlines on hover for site header buttons
4 changes: 4 additions & 0 deletions css/src/components/site-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ $site-header-panel-featured-section-border: 1px solid $table-border-dark !defaul
&:hover,
&.is-hovered,
&:focus-visible {
text-decoration: none;

&:not([aria-expanded='true']) {
@extend %site-header-hover-underline;
}
Expand Down Expand Up @@ -153,6 +155,8 @@ $site-header-panel-featured-section-border: 1px solid $table-border-dark !defaul
&.is-hovered,
&:focus-visible {
@extend %site-header-hover-underline;

text-decoration: none;
}

@include tablet {
Expand Down

0 comments on commit 920130e

Please sign in to comment.