Merge pull request 'Fix mobile navigation z-index in chrome android' (#7) from hazy/Mastodon-Modern:waf into waf

Reviewed-on: https://codeberg.org/Freeplay/Mastodon-Modern/pulls/7
This commit is contained in:
Free
2023-10-13 21:35:17 +00:00
2 changed files with 4 additions and 4 deletions

View File

@@ -3529,7 +3529,7 @@ a:focus-visible,
margin-top: 2px !important; margin-top: 2px !important;
} }
#mastodon:not(:has(.navigation-panel__sign-in-banner)) .ui__header { #mastodon:not(:has(.navigation-panel__sign-in-banner)) .ui__header {
z-index: 200; z-index: 199;
} }
#mastodon:not(:has(.navigation-panel__sign-in-banner)) .ui__header::before, #mastodon:not(:has(.navigation-panel__sign-in-banner)) .ui__header::before,
#mastodon:not(:has(.navigation-panel__sign-in-banner)) .ui__header::after { #mastodon:not(:has(.navigation-panel__sign-in-banner)) .ui__header::after {

View File

@@ -13,8 +13,8 @@
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
/* Update 1.8.1 /* Update 1.8.2
- Revert to side nav when browser doesn't support :has() - Fix mobile navigation z-index in Chrome for Android
*/ */
/* ==UserStyle== /* ==UserStyle==
@@ -2640,7 +2640,7 @@
.ui__header { .ui__header {
// position static !important // position static !important
// visibility collapse // visibility collapse
z-index 200 z-index 199
&::before, &::after { &::before, &::after {
content "" content ""
position fixed position fixed