Browse Source

add option to hide images in favs/boosts

main
xenua 7 months ago
parent
commit
5fbd200a09
Signed by: xenua
GPG Key ID: 8F93B68BD37255B8
  1. 30
      mastodon/mastodon4.user.css

30
mastodon/mastodon4.user.css

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
/* ==UserStyle==
@name mastodon 4 ui tweaks
@namespace mastodon4
@version 1.0.5
@version 1.0.6
@description fixes the weird spacing on the new mastodon web ui. intended for the advanced user interface, may also work with the single column one.
@author xenua
@license CNPLv7+
@ -162,6 +162,34 @@ @@ -162,6 +162,34 @@
/*========
misc stuff
========*/
/* get rid of images in fav/boost notifs */
/*
.notification .media-gallery {
display: flex;
flex-flow: column nowrap;
aspect-ratio: unset !important;
margin-top: 4px !important;
}
.notification .media-gallery > .spoiler-button {
display: none;
}
.notification .media-gallery > .media-gallery__preview {
display: none;
}
.notification .media-gallery > .media-gallery__item img {
display: none;
}
.notification .media-gallery > .media-gallery__item > .media-gallery__item__badges {
display: none;
}
.notification .media-gallery > .media-gallery__item > .media-gallery__item-thumbnail::after {
content: "🖼 Image.";
padding: 0 16px;
font-size: 110%;
line-height: 125%
}
*/
/* hide follow request indicator */
/*

Loading…
Cancel
Save