Skip to content

Commit

Permalink
Docs: fix transparent navbar in Windows high contrast mode (twbs#40911)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <[email protected]>
  • Loading branch information
2 people authored and patrickhlauke committed Dec 10, 2024
1 parent 41bd97e commit 27c568b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/assets/scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
background-color: transparent;
box-shadow: 0 .5rem 1rem rgba($black, .15), inset 0 -1px 0 rgba($white, .15);

@media (forced-colors) {
background-color: Canvas;
}

&::after {
position: absolute;
inset: 0;
Expand Down

0 comments on commit 27c568b

Please sign in to comment.