Browse Source

prevent a bunch of CSS in iframe head on every render

pull/232/head
Martin McKeaveney 6 years ago
parent
commit
428d208f3a
  1. 1
      packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte

1
packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte

@ -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

Loading…
Cancel
Save