mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 08:04:25 +00:00
fix(frontend): fix style panel title (#4058)
This commit is contained in:
@@ -328,7 +328,10 @@
|
||||
|
||||
// Animation logic for cssInput
|
||||
$: animateCssInput($cssEditorOpen)
|
||||
$: $cssEditorOpen && secondaryMenuLeft?.open(StylePanel, {})
|
||||
$: $cssEditorOpen &&
|
||||
secondaryMenuLeft?.open(StylePanel, {
|
||||
type: 'style'
|
||||
})
|
||||
|
||||
function animateCssInput(cssEditorOpen: boolean) {
|
||||
if (cssEditorOpen && !cssToggled) {
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
size="xs"
|
||||
variant="border"
|
||||
startIcon={{ icon: ChevronLeft }}
|
||||
on:click={() => secondaryMenuLeft.toggle(StylePanel, {})}
|
||||
on:click={() => secondaryMenuLeft.toggle(StylePanel, { type: 'style' })}
|
||||
>
|
||||
Show
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user