From 5fbd200a0958f66cb4c880654412fadf9ffabeaf Mon Sep 17 00:00:00 2001 From: xenua Date: Wed, 4 Oct 2023 14:47:05 +0200 Subject: [PATCH] add option to hide images in favs/boosts --- mastodon/mastodon4.user.css | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/mastodon/mastodon4.user.css b/mastodon/mastodon4.user.css index 594737d..b83f9d2 100644 --- a/mastodon/mastodon4.user.css +++ b/mastodon/mastodon4.user.css @@ -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 @@ /*======== 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 */ /*