Commit f1c574cf by Muzaffar yousaf Committed by GitHub

Merge pull request #15565 from jspayd/caption-centering

Fix video caption centering
parents 0137e38e 4b733b56
...@@ -215,7 +215,8 @@ $cool-dark: rgb(79, 89, 93); // UXPL cool dark ...@@ -215,7 +215,8 @@ $cool-dark: rgb(79, 89, 93); // UXPL cool dark
.closed-captions { .closed-captions {
@include left(5%); @include left(5%);
position: absolute; position: absolute;
width: 85%; width: 90%;
box-sizing: border-box;
top: 70%; top: 70%;
text-align: center; text-align: center;
} }
...@@ -715,7 +716,11 @@ $cool-dark: rgb(79, 89, 93); // UXPL cool dark ...@@ -715,7 +716,11 @@ $cool-dark: rgb(79, 89, 93); // UXPL cool dark
&.video-fullscreen { &.video-fullscreen {
.closed-captions { .closed-captions {
width: 60%; width: 65%;
}
&.closed .closed-captions {
width: 90%;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment