Update CurrentItemPreview.svelte
This commit is contained in:
parent
ed57456245
commit
634abe194c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue