From 2e8f2ec724f6802170121f4f8aa73b697a39c9ee Mon Sep 17 00:00:00 2001 From: Faton Ramadani Date: Tue, 26 Sep 2023 17:22:52 +0200 Subject: [PATCH] fix(frontend): fix overflow (#2341) * fix(frontend): fix overflow * fix(frontend): fix overflow --- .../apps/editor/componentsPanel/CssSettings.svelte | 2 +- .../apps/editor/settingsPanel/CSSMigrationModal.svelte | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/componentsPanel/CssSettings.svelte b/frontend/src/lib/components/apps/editor/componentsPanel/CssSettings.svelte index e2c3d254c6..1b3104221e 100644 --- a/frontend/src/lib/components/apps/editor/componentsPanel/CssSettings.svelte +++ b/frontend/src/lib/components/apps/editor/componentsPanel/CssSettings.svelte @@ -76,7 +76,7 @@ class="h-full" lang="css" bind:code={$app.theme.css} - fixedOverflowWidgets={false} + fixedOverflowWidgets={true} small automaticLayout bind:this={cssEditor} diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/CSSMigrationModal.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/CSSMigrationModal.svelte index 6cd5efa5ae..e9676255a2 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/CSSMigrationModal.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/CSSMigrationModal.svelte @@ -72,7 +72,10 @@ const theme = $app.theme if (theme?.type === 'path') { - sendUserToast('Cannot migrate to CSS editor when using a theme by path', true) + sendUserToast( + 'Cannot migrate to CSS editor when using a theme by path. Fork a global theme to edit CSS.', + true + ) return } else if (theme?.type === 'inlined') { let cssString = theme.css