Skip to content
Snippets Groups Projects
Commit f1c574cf authored by Muzaffar yousaf's avatar Muzaffar yousaf Committed by GitHub
Browse files

Merge pull request #15565 from jspayd/caption-centering

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