fixed ass subtitles not being centered

This commit is contained in:
2026-01-03 16:49:23 +01:00
parent 57acf10f38
commit 148beb6c5a
2 changed files with 6 additions and 8 deletions

View File

@@ -66,12 +66,11 @@ body.stop-scrolling {
/* Subtitles Canvas Overlay */
#subtitles-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%);
}
/* Header Controls */

View File

@@ -66,12 +66,11 @@ body.stop-scrolling {
/* Subtitles Canvas Overlay */
#subtitles-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%);
}
/* Header Controls */