mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
Centering video player in VideoPage.
This commit is contained in:
parent
3906223844
commit
c5e86c19e8
2 changed files with 6 additions and 0 deletions
|
|
@ -245,3 +245,8 @@ textarea.otp {
|
|||
.divider.inverted {
|
||||
color: rgb(255, 255, 255, 0.6) !important;
|
||||
}
|
||||
|
||||
.video-player {
|
||||
display: block;
|
||||
margin: 0 auto; /* Center the video horizontally */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -350,6 +350,7 @@ function VideoPage({videoFile, prevFile, nextFile, fetchVideo, ...props}) {
|
|||
</Container>
|
||||
|
||||
<video controls
|
||||
class='video-player'
|
||||
autoPlay={props.autoplay !== undefined ? props.autoplay : true}
|
||||
poster={posterUrl}
|
||||
id="player"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue