fixed ass subtitles not being centered
This commit is contained in:
@@ -66,12 +66,11 @@ body.stop-scrolling {
|
|||||||
/* Subtitles Canvas Overlay */
|
/* Subtitles Canvas Overlay */
|
||||||
#subtitles-canvas {
|
#subtitles-canvas {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
top: 50% !important;
|
||||||
|
left: 50% !important;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Header Controls */
|
/* Header Controls */
|
||||||
|
|||||||
@@ -66,12 +66,11 @@ body.stop-scrolling {
|
|||||||
/* Subtitles Canvas Overlay */
|
/* Subtitles Canvas Overlay */
|
||||||
#subtitles-canvas {
|
#subtitles-canvas {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
top: 50% !important;
|
||||||
|
left: 50% !important;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Header Controls */
|
/* Header Controls */
|
||||||
|
|||||||
Reference in New Issue
Block a user