From a47d878ea1a79163369f48d46a155b8049a234dc Mon Sep 17 00:00:00 2001 From: projectdx Date: Sun, 4 Jan 2026 20:01:10 +0900 Subject: [PATCH] fix: force modal height and stretch video container for vertical centering --- info.yaml | 2 +- static/css/video_modal.css | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/info.yaml b/info.yaml index 1f9be4c..62c647b 100644 --- a/info.yaml +++ b/info.yaml @@ -1,5 +1,5 @@ title: "애니 다운로더" -version: "0.5.33" +version: "0.5.34" package_name: "anime_downloader" developer: "projectdx" description: "anime downloader" diff --git a/static/css/video_modal.css b/static/css/video_modal.css index 2e4963c..04ef97a 100644 --- a/static/css/video_modal.css +++ b/static/css/video_modal.css @@ -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 */