Skip to content

Commit

Permalink
Merge pull request #601 from Stremio/fix-titles-overflow
Browse files Browse the repository at this point in the history
fix: metaitem titles overflow
  • Loading branch information
tymmesyde committed Mar 8, 2024
2 parents b434f84 + 52c4926 commit a568bb0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/common/MetaItem/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,14 @@

.title-label {
flex: 1;
max-height: 2.4em;
padding-left: 1.5rem;
font-weight: 600;
text-align: center;
color: var(--primary-foreground-color);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;

&:only-child {
padding: 0 0.5rem;
Expand Down

0 comments on commit a568bb0

Please sign in to comment.