fixed ass subtitles not being centered
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user