web: Improve video modal

This commit is contained in:
Wumbo 2024-06-23 16:41:37 -04:00 committed by Nathan Adams
parent f078fc3b39
commit aa26ca1d23
1 changed files with 12 additions and 3 deletions

View File

@ -411,13 +411,22 @@ export function applyStaticStyles(styleElement: HTMLStyleElement) {
display: none;
}`,
`#video-modal .modal-area {
width: 95%;
height: 95%;
box-sizing: border-box;
}`,
`#video-holder {
padding-top: 20px;
height: 100%;
box-sizing: border-box;
padding: 36px 4px 6px;
}`,
`#video-holder video {
max-width: 100%;
height: calc(100% - 58px);
width: 100%;
height: 100%;
background-color: black;
}`,
`#volume-controls {