Skip to content

Commit 7ca1dbb

Browse files
committed
fixup invert flex-direction
1 parent 8012991 commit 7ca1dbb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/less/containers.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,11 @@
211211

212212
/* Set the captions in the middle horizontally by default. */
213213
display: flex;
214-
justify-content: center;
214+
flex-direction: column;
215+
align-items: center;
215216

216217
/* Set the captions at the bottom by default. */
217-
align-items: flex-end;
218+
justify-content: flex-end;
218219

219220
/* If the captions are too long to fit in the video container, hide the
220221
* overflow content. */
@@ -231,6 +232,7 @@
231232
/* These are defaults which are overridden by JS or cue styles. */
232233
background-color: rgba(0, 0, 0, 0.8);
233234
color: rgb(255, 255, 255);
235+
display: inline-block;
234236
}
235237
}
236238

0 commit comments

Comments
 (0)