Skip to content

Commit

Permalink
Ensure focused animation button appears above sticky nav (fixes #15764)
Browse files Browse the repository at this point in the history
  • Loading branch information
maureenlholland committed Dec 19, 2024
1 parent d41aaf8 commit 99bde00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions media/css/m24/flag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
cursor: pointer;
transition: background-color $fast;

// Focused button is always visible: https://bugzilla.mozilla.org/show_bug.cgi?id=1936862
&:focus {
position: relative;
z-index: 1001; // must be above .m24-navigation-refresh.m24-mzp-is-sticky
}

&:hover,
&:focus {
background-color: $m24-color-black; // inverts to white in dark theme section
Expand Down

0 comments on commit 99bde00

Please sign in to comment.