fix: video not fit

This commit is contained in:
shinya
2025-06-27 12:30:35 +08:00
parent f158d21b2c
commit 227ba8d6ff
2 changed files with 7 additions and 0 deletions

View File

@@ -146,3 +146,9 @@ html.dark::view-transition-new(root) {
html:not(.dark)::view-transition-new(root) {
animation-name: slide-from-bottom;
}
/* 强制播放器内部的 video 元素高度为 100%,并保持内容完整显示 */
div[data-media-provider] video {
height: 100%;
object-fit: contain;
}