1.8.3 - Fix large status buttons in vanilla mastodon

This commit is contained in:
freeplay
2023-11-01 18:57:34 -04:00
parent 8c8be8319e
commit 12748068d7
3 changed files with 17 additions and 9 deletions

View File

@@ -40,6 +40,12 @@ body.app-body.flavour-glitch > #mastodon .collapsed .status__content br {
body.app-body.flavour-glitch > #mastodon .collapsed .status__content::after {
content: unset;
}
body.app-body.flavour-glitch > #mastodon .collapsed .status__action-bar :not(i),
body.app-body.flavour-glitch > #mastodon .collapsed .detailed-status__action-bar :not(i),
body.app-body.flavour-glitch > #mastodon .collapsed .picture-in-picture__footer :not(i) {
height: unset !important;
width: unset !important;
}
body.app-body.flavour-glitch > #mastodon .collapsed.muted .status__content__text ~ * {
display: none;
}

View File

@@ -2652,8 +2652,6 @@ a:focus-visible,
#mastodon .status__action-bar :not(i),
#mastodon .detailed-status__action-bar :not(i),
#mastodon .picture-in-picture__footer :not(i) {
height: unset !important;
width: unset !important;
pointer-events: all;
}
#mastodon .status__action-bar .icon-button,
@@ -3529,7 +3527,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,13 +13,13 @@
////////////////////////////////////////////////////////////////////
/* Update 1.8.1
- Revert to side nav when browser doesn't support :has()
/* Update 1.8.3
- Fix large status buttons in vanilla mastodon w/ new icons
*/
/* ==UserStyle==
@name Mastodon Modern
@version 1.8.1
@version 1.8.3
@description Drastically improves the look & feel of Mastodon
@updateURL https://codeberg.org/Freeplay/Mastodon-Modern/raw/branch/main/modern.user.css
@homepageURL https://codeberg.org/Freeplay/Mastodon-Modern
@@ -1810,8 +1810,6 @@
gap 0 18px
justify-content unset
:not(i) {
height unset !important
width unset !important
pointer-events all
}
.icon-button {
@@ -2640,7 +2638,7 @@
.ui__header {
// position static !important
// visibility collapse
z-index 200
z-index 199
&::before, &::after {
content ""
position fixed
@@ -3400,6 +3398,12 @@
content unset
}
}
.status__action-bar, .detailed-status__action-bar, .picture-in-picture__footer {
:not(i) {
height unset !important
width unset !important
}
}
&.muted {
.status__content__text ~ * {
display none