mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #397 from Abbe98/list-view-break-text
Allow card text to continue through line breaks
This commit is contained in:
commit
3317c09e1c
1 changed files with 6 additions and 1 deletions
|
@ -267,6 +267,7 @@ button {
|
|||
|
||||
.cardFooter {
|
||||
padding: .3em .3em .5em .3em;
|
||||
height: 3.5em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
@ -297,7 +298,6 @@ button {
|
|||
|
||||
.cardText {
|
||||
padding: .06em .5em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: left;
|
||||
|
@ -309,6 +309,11 @@ button {
|
|||
|
||||
.cardText-first {
|
||||
padding-top: .24em;
|
||||
display: -webkit-box;
|
||||
line-height: 16px; /* fallback */
|
||||
max-height: 32px; /* fallback */
|
||||
-webkit-line-clamp: 2; /* number of lines to show */
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.cardText > .textActionButton {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue