Files
moodle/filter/mediaplugin/styles.css
T
Jake Dallimore c19c53161a MDL-57187 filter_mediaplugin: fix audio tag height in chrome
Chrome's html5 audio tags don't have a height and 'auto' renders them
with zero height, so added a min height to address this.
2016-12-21 13:46:42 +08:00

23 lines
368 B
CSS

/**
* Filters
*/
.mediaplugin {
display: block;
margin-top: 5px;
margin-bottom: 5px;
text-align: center;
}
.mediaplugin,
.mediaplugin video {
/* Make videos as wide as possible without being wider than their containers */
width: 100vw;
max-width: 100%;
height: auto;
min-height: 32px;
}
.mediaplugin > div {
margin: auto;
}