Skip to content

Commit

Permalink
Docs: fix transparent navbar in Windows high contrast mode (#40911)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <[email protected]>
  • Loading branch information
MohamadSalman11 and julien-deramond authored Oct 24, 2024
1 parent 30e0152 commit fa3ad0b
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 fa3ad0b

Please sign in to comment.