Update iframe to the standalone view

This commit is contained in:
Ray Schamp 2018-12-05 17:10:43 -05:00
parent 096aeb02a0
commit 59e0941652
2 changed files with 4 additions and 4 deletions

View file

@ -171,7 +171,7 @@ const PreviewPresentation = ({
className={classNames('admin-iframe', { className={classNames('admin-iframe', {
'modal-open': adminModalOpen 'modal-open': adminModalOpen
})} })}
src={`/scratch2/${projectId}`} src={`/scratch2/${projectId}/adminpanel/`}
/> />
</AdminPanel> </AdminPanel>
{ projectInfo && projectInfo.author && projectInfo.author.id && ( { projectInfo && projectInfo.author && projectInfo.author.id && (

View file

@ -42,12 +42,12 @@ $stage-width: 480px;
z-index: 100; z-index: 100;
width: 252px; width: 252px;
height: 100%; height: 100%;
} }
.admin-iframe.modal-open, .admin-iframe.modal-open,
.project-admin-panel.modal-open { .project-admin-panel.modal-open {
width: 100% background-color: transparent;
width: 100%;
} }
.project-title { .project-title {