Browse Source

add option to hide images in favs/boosts

main
xenua 8 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 @@
/* ==UserStyle== /* ==UserStyle==
@name mastodon 4 ui tweaks @name mastodon 4 ui tweaks
@namespace mastodon4 @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. @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 @author xenua
@license CNPLv7+ @license CNPLv7+
@ -162,6 +162,34 @@
/*======== /*========
misc stuff 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 */ /* hide follow request indicator */
/* /*

Loading…
Cancel
Save