mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2026-04-18 12:09:29 +00:00
Refac fix layout jumps when image loadeding (#1151)
* Fix layout shifts when images load * Refac keep aspect ratio code style
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user