prevent a bunch of CSS in iframe head on every render
This commit is contained in:
parent
1c1f891543
commit
428d208f3a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue