Adjust height for media card so subtitle fits in card (#1132)

This commit is contained in:
brandinio 2022-06-05 17:43:22 +01:00 committed by GitHub
parent b0f65224dd
commit 58d5e02d40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1136,7 +1136,7 @@
&.mediaitem-card { &.mediaitem-card {
background : #ccc; background : #ccc;
background : var(--spcolor); background : var(--spcolor);
height : 298px; height : 302px;
width : 230px; width : 230px;
overflow : hidden; overflow : hidden;
position : relative; position : relative;
@ -1205,7 +1205,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
overflow : hidden; overflow : hidden;
max-height : 3.8em; max-height : 4.8em;
z-index : 1; z-index : 1;
} }