Browse Source

Update CurrentItemPreview.svelte

master
Martin McKeaveney 6 years ago
committed by GitHub
parent
commit
634abe194c
  1. 2
      packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte

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

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

Loading…
Cancel
Save