fix: force modal height and stretch video container for vertical centering

This commit is contained in:
2026-01-04 20:01:10 +09:00
parent 2a5f5dce2b
commit a47d878ea1
2 changed files with 6 additions and 6 deletions

View File

@@ -13,6 +13,7 @@
border-radius: 12px !important;
display: flex;
flex-direction: column;
height: 100%; /* Fill the 85vh height */
max-height: calc(100vh - 60px);
}
#videoModal .modal-header {
@@ -55,12 +56,11 @@
position: relative;
overflow: hidden;
background: #000;
flex: 1;
flex: 1; /* Stretch to fill space */
display: flex;
flex-direction: column; /* Center child vertically */
align-items: center;
justify-content: center;
min-height: 300px;
align-items: center !important; /* Force center */
justify-content: center !important;
min-height: 450px; /* Increased for better visual impact */
}
/* Ensure Video.js container itself is centered */