fix: vertical centering and icon wrapping refinements

This commit is contained in:
2026-01-04 19:53:21 +09:00
parent 437fcaa05e
commit 2a5f5dce2b
3 changed files with 20 additions and 8 deletions

View File

@@ -24,6 +24,7 @@
display: flex;
flex-direction: column;
overflow: hidden;
min-height: 0; /* Crucial for flex nested items */
}
/* Close Button - Prominent */
@@ -56,9 +57,17 @@
background: #000;
flex: 1;
display: flex;
align-items: center; /* Vertical center */
justify-content: center; /* Horizontal center */
min-height: 400px; /* Ensure enough height for centering */
flex-direction: column; /* Center child vertically */
align-items: center;
justify-content: center;
min-height: 300px;
}
/* Ensure Video.js container itself is centered */
.video-container .video-js {
margin: auto !important;
max-width: 100%;
max-height: 100%;
}
/* Zoom Button */
@@ -199,10 +208,13 @@
}
.external-players-grid {
display: flex;
flex-wrap: wrap; /* Allow wrapping */
flex-direction: row;
flex-wrap: wrap !important; /* Force wrap */
justify-content: center;
gap: 10px;
width: 100%; /* Ensure it takes full width to trigger wrap */
align-items: center;
gap: 12px;
width: 100%;
padding: 10px 0;
}
.ext-player-btn {
display: flex;