mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
Fixed aspect ratio for thumnails to prevent CLS
This commit is contained in:
parent
c5b87e3b5e
commit
16c79f1ef5
@ -197,6 +197,7 @@ img.thumbnail {
|
||||
display: block; /* See: https://stackoverflow.com/a/11635197 */
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
.thumbnail-placeholder {
|
||||
|
Loading…
Reference in New Issue
Block a user