prevent a bunch of CSS in iframe head on every render

This commit is contained in:
Martin McKeaveney 2020-05-12 12:23:34 +01:00
parent 1c1f891543
commit 428d208f3a
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
) )
$: hasComponent = !!$store.currentPreviewItem $: hasComponent = !!$store.currentPreviewItem
$: { $: {
style = ""
// Apply the CSS from the currently selected page and its screens // Apply the CSS from the currently selected page and its screens
const currentPage = $store.pages[$store.currentPageName] const currentPage = $store.pages[$store.currentPageName]
styles += currentPage._css styles += currentPage._css