mirror of
https://github.com/moodle/moodle.git
synced 2025-05-07 00:36:01 +02:00
MDL-57616 media_videojs: set min height for videos
This partially reverts changes from MDL-57187 that added the limit for all videos and not just videojs. Videojs displays a big play button that overlaps contents below during video loading.
This commit is contained in:
parent
bd99cb9021
commit
4cf6871ccf
@ -14,7 +14,6 @@
|
|||||||
width: 100vw;
|
width: 100vw;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: 32px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mediaplugin > div {
|
.mediaplugin > div {
|
||||||
|
@ -1330,3 +1330,7 @@ video::-webkit-media-text-track-display {
|
|||||||
.video-js.vjs-error {
|
.video-js.vjs-error {
|
||||||
height: 150px;
|
height: 150px;
|
||||||
}
|
}
|
||||||
|
/* Minimum height for videos should not be less than the size of play button. */
|
||||||
|
.mediaplugin_videojs video {
|
||||||
|
min-height: 32px;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user