diff --git a/app/static/css/partials/_ascroll.scss b/app/static/css/partials/_ascroll.scss index 5223961..9100220 100755 --- a/app/static/css/partials/_ascroll.scss +++ b/app/static/css/partials/_ascroll.scss @@ -1,3 +1,9 @@ +#ascroll { + iframe.player { + width: 100%; + min-height: calc(100vh - 64px); + } +} #ascroll { font-family: "noto_sans"; width: 100%; diff --git a/app/static/js/player.js b/app/static/js/player.js index 1d1ccaf..29948ef 100644 --- a/app/static/js/player.js +++ b/app/static/js/player.js @@ -1,5 +1,6 @@ var iframe = document.createElement('iframe') iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true' +iframe.classList.add('player') var ascroll = document.querySelector('#ascroll') ascroll.appendChild(iframe)