Fix layout shifts when images load

This commit is contained in:
Merlin Scheurer 2026-04-05 12:00:23 +02:00
parent c342c8b1e2
commit 799307cf41
1 changed files with 4 additions and 0 deletions

View File

@ -625,6 +625,8 @@ video:-webkit-full-screen {
.video-thumb img {
width: 100%;
position: relative;
aspect-ratio: 16 / 9;
background: var(--highlight-bg-transparent);
}
.video-tags {
@ -1088,6 +1090,8 @@ video:-webkit-full-screen {
.channel-banner img {
width: 100%;
aspect-ratio: 18/3;
background: var(--highlight-bg-transparent);
}
.channel-banner.grid {