1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

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

View file

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