hometown-fork / hometown

A supported fork of Mastodon that provides local posting and a wider range of content types.
GNU Affero General Public License v3.0
736 stars 56 forks source link

Provide CSS selector for entire post if it contains undescribed media #1263

Open dariusk opened 1 year ago

dariusk commented 1 year ago

An admin might want to do custom CSS where they hide entire posts that have undescribed media. Idea from here:

https://toot.cat/@FiXato/109598506147585083

This would be straightforward, just adding a class to the post container. Except there is an edge case of a gallery where some media is described and other media is not. Maybe the solution is to apply either a .contained-undescribed-media or .contains-partially-described-media class depending on the case.