fix: set aspect ratio for youtube video player

This commit is contained in:
Tienson Qin
2024-12-15 22:15:31 +08:00
parent 277096d458
commit 4477dcfb95
2 changed files with 12 additions and 9 deletions

View File

@@ -1062,3 +1062,8 @@ html.is-mac {
transition: background-color 0.2s cubic-bezier(0, 1, 0, 1);
background-color: var(--ls-secondary-background-color, var(--rx-gray-03));
}
.aspect-video {
width: auto;
aspect-ratio: 16 / 9;
}