1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #5143 from thornbill/fix-line-clamping

This commit is contained in:
Bill Thornton 2024-01-21 21:46:54 -05:00 committed by GitHub
commit 3182fcbd06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1505,14 +1505,16 @@ div:not(.sectionTitleContainer-cards) > .sectionTitle-cards {
.detail-clamp-text { .detail-clamp-text {
overflow: hidden; overflow: hidden;
display: flex;
flex-direction: column; /* NOTE: line clamping is non-standard and requires vendor-prefixed rules to function */
line-clamp: 12; display: -webkit-box; /* stylelint-disable-line value-no-vendor-prefix */
-webkit-box-orient: vertical;
-webkit-line-clamp: 12;
} }
@media all and (min-width: 40em) { @media all and (min-width: 40em) {
.detail-clamp-text { .detail-clamp-text {
line-clamp: 6; -webkit-line-clamp: 6;
} }
} }