mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Update iframe to the standalone view
This commit is contained in:
parent
096aeb02a0
commit
59e0941652
2 changed files with 4 additions and 4 deletions
|
@ -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 && (
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue