Experimental more-harsh hashtag stuffing collapsing

This commit is contained in:
Lim Chee Aun 2024-01-25 22:13:38 +08:00
parent 5cfcfdc98b
commit 9cac63c37d

View file

@ -1243,6 +1243,14 @@ body:has(#modal-container .carousel) .status .media img:hover {
-webkit-box-orient: vertical;
white-space: normal;
}
/* Collapse possible hashtag stuffing */
/* If >= 9 hashtags, collapse */
/* TODO: lower the threshold one day */
.status:not(.large) p:has(.hashtag:nth-child(9)) {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.media-figure-multiple {
margin: 0;