diff options
| author | Corné Dorrestijn <contact@corne.info> | 2023-11-21 08:14:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-21 08:14:45 +0100 |
| commit | 16c79f1ef5ab1fd58cffa8ee36c6e939efda2db4 (patch) | |
| tree | ab7f690843f8393a41e1104af598112470a0675e /assets | |
| parent | c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a (diff) | |
| download | invidious-16c79f1ef5ab1fd58cffa8ee36c6e939efda2db4.tar.gz invidious-16c79f1ef5ab1fd58cffa8ee36c6e939efda2db4.tar.bz2 invidious-16c79f1ef5ab1fd58cffa8ee36c6e939efda2db4.zip | |
Fixed aspect ratio for thumnails to prevent CLS
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/default.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 00881253..4d6c6c2f 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -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 { |
