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;
}
#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::after {

View File

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