fix(frontend): fix overflow (#2341)

* fix(frontend): fix overflow

* fix(frontend): fix overflow
This commit is contained in:
Faton Ramadani
2023-09-26 17:22:52 +02:00
committed by GitHub
parent 19f3bf1d3a
commit 2e8f2ec724
2 changed files with 5 additions and 2 deletions
@@ -76,7 +76,7 @@
class="h-full"
lang="css"
bind:code={$app.theme.css}
fixedOverflowWidgets={false}
fixedOverflowWidgets={true}
small
automaticLayout
bind:this={cssEditor}
@@ -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