Disable CSS-based hashtag-stuffing collapse

pull/1164/head
Lim Chee Aun 2025-05-18 09:10:28 +08:00
rodzic eb708725be
commit e19671ff57
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -1708,7 +1708,8 @@ body:has(#modal-container .carousel) .status .media img:hover {
/* Collapse possible hashtag stuffing */ /* Collapse possible hashtag stuffing */
/* If >= 9 hashtags, collapse */ /* If >= 9 hashtags, collapse */
/* TODO: lower the threshold one day */ /* TODO: lower the threshold one day */
.status:not(.large, .contextual .status) /* NOTE: disabled for now due to inaccuracy */
/* .status:not(.large, .contextual .status)
p:not(.hashtag-stuffing):has(.hashtag:nth-of-type(1)):has( p:not(.hashtag-stuffing):has(.hashtag:nth-of-type(1)):has(
.hashtag:nth-of-type(2) .hashtag:nth-of-type(2)
):has(.hashtag:nth-of-type(3)):has(.hashtag:nth-of-type(4)):has( ):has(.hashtag:nth-of-type(3)):has(.hashtag:nth-of-type(4)):has(
@ -1720,7 +1721,7 @@ body:has(#modal-container .carousel) .status .media img:hover {
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} } */
.media-figure-multiple { .media-figure-multiple {
margin: 0; margin: 0;