fix: prevent preview video overflow with aspect-ratio + max-height constraint

This commit is contained in:
2026-06-14 18:05:09 +08:00
parent 8c736d5c08
commit 0c59e54a2a

View File

@@ -56,13 +56,12 @@ function togglePlay() {
}
.preview-video {
width: 100%;
aspect-ratio: 16 / 9;
max-height: 100%;
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
max-width: 100%;
aspect-ratio: 16 / 9;
max-height: 100%;
}
.preview-video video {