This commit is contained in:
j 2021-11-21 11:44:48 +01:00
parent a1f7684ff7
commit 8be374bcb5
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
#ascroll {
iframe.player {
width: 100%;
min-height: calc(100vh - 64px);
}
}
#ascroll { #ascroll {
font-family: "noto_sans"; font-family: "noto_sans";
width: 100%; width: 100%;

View file

@ -1,5 +1,6 @@
var iframe = document.createElement('iframe') var iframe = document.createElement('iframe')
iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true' iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true'
iframe.classList.add('player')
var ascroll = document.querySelector('#ascroll') var ascroll = document.querySelector('#ascroll')
ascroll.appendChild(iframe) ascroll.appendChild(iframe)