fix: prevent preview video overflow with aspect-ratio + max-height constraint
This commit is contained in:
@@ -56,13 +56,12 @@ function togglePlay() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.preview-video {
|
.preview-video {
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 16 / 9;
|
||||||
|
max-height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
width: 100%;
|
|
||||||
max-width: 100%;
|
|
||||||
aspect-ratio: 16 / 9;
|
|
||||||
max-height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-video video {
|
.preview-video video {
|
||||||
|
|||||||
Reference in New Issue
Block a user