fix volume slider pushing content, force vertical
on small screen sizes
This commit is contained in:
parent
1e1c294337
commit
16c340357c
1 changed files with 18 additions and 1 deletions
19
index.html
19
index.html
|
@ -99,6 +99,23 @@
|
||||||
grid-column: 1/3;
|
grid-column: 1/3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 590px) {
|
||||||
|
#mainContainer #title {
|
||||||
|
margin: 20px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#mainContainer.title-span.title-span #titleContainer {
|
||||||
|
grid-column: 1;
|
||||||
|
}
|
||||||
|
#mainContainer {
|
||||||
|
grid-template-columns: auto;
|
||||||
|
}
|
||||||
|
#mainContainer #mediaColumn {
|
||||||
|
grid-row: 2;
|
||||||
|
grid-column: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*** media column ***/
|
/*** media column ***/
|
||||||
|
|
||||||
#mediaColumn {
|
#mediaColumn {
|
||||||
|
@ -726,7 +743,7 @@
|
||||||
document.getElementById('mainContainer').classList.remove('title-none', 'title-span');
|
document.getElementById('mainContainer').classList.remove('title-none', 'title-span');
|
||||||
document.getElementById('mainContainer').classList.add('title-' + theme.titleStyle);
|
document.getElementById('mainContainer').classList.add('title-' + theme.titleStyle);
|
||||||
}
|
}
|
||||||
if(theme.contentWidth) document.getElementById('contentContainer').style.maxWidth = theme.contentWidth + 'px';
|
if(theme.contentWidth) document.getElementById('contentContainer').style.width = theme.contentWidth + 'px';
|
||||||
if(theme.nativePlayer){
|
if(theme.nativePlayer){
|
||||||
document.getElementById('audio').classList.add('native');
|
document.getElementById('audio').classList.add('native');
|
||||||
mediaVideoEl.setAttribute('controls', '');
|
mediaVideoEl.setAttribute('controls', '');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue