Update CurrentItemPreview.svelte

This commit is contained in:
Martin McKeaveney 2020-05-12 17:16:39 +01:00 committed by GitHub
parent ed57456245
commit 634abe194c
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
) )
$: hasComponent = !!$store.currentPreviewItem $: hasComponent = !!$store.currentPreviewItem
$: { $: {
style = "" styles = ""
// 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