diff --git a/app/static/css/partials/_ascroll.scss b/app/static/css/partials/_ascroll.scss index 9100220..12b2ccb 100755 --- a/app/static/css/partials/_ascroll.scss +++ b/app/static/css/partials/_ascroll.scss @@ -1,5 +1,5 @@ -#ascroll { - iframe.player { +#ascroll.player { + iframe { width: 100%; min-height: calc(100vh - 64px); } diff --git a/app/static/js/player.js b/app/static/js/player.js index 29948ef..04dbec5 100644 --- a/app/static/js/player.js +++ b/app/static/js/player.js @@ -1,6 +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.classList.add('player') ascroll.appendChild(iframe)