1
0
Fork 0
mirror of synced 2024-07-01 20:41:03 +12:00

Update CurrentItemPreview.svelte

This commit is contained in:
Martin McKeaveney 2020-05-12 17:16:39 +01:00 committed by GitHub
parent 428d208f3a
commit c21da56e25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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