fix(layout): prevent editor overflow over side panels

This commit is contained in:
t8y2 committed 2026-05-22 17:16:36 +08:00
1 parent 5ab0489127
commit f5633cff67
4 files changed
+277 -222

No files matched your search

+5 -5
View File
@@ -817,7 +817,7 @@ onUnmounted(() => {
<div
:class="
isClassicLayout
? 'flex-1 min-w-0'
? 'flex-1 min-w-0 overflow-hidden'
: 'flex-1 min-w-0 overflow-hidden rounded-md border border-border/80 bg-background'
"
>
@@ -925,8 +925,8 @@ onUnmounted(() => {
v-if="showAiPanel"
:class="
isClassicLayout
? 'h-full shrink-0 relative bg-background'
: 'h-full shrink-0 relative rounded-md border border-border/80 bg-background'
? 'h-full shrink-0 relative z-30 isolate bg-background'
: 'h-full shrink-0 relative z-30 isolate rounded-md border border-border/80 bg-background'
"
:style="{ width: aiPanelWidth + 'px' }"
>
@@ -949,8 +949,8 @@ onUnmounted(() => {
v-if="showHistory"
:class="
isClassicLayout
? 'h-full shrink-0 relative bg-background'
: 'h-full shrink-0 relative rounded-md border border-border/80 bg-background'
? 'h-full shrink-0 relative z-30 isolate bg-background'
: 'h-full shrink-0 relative z-30 isolate rounded-md border border-border/80 bg-background'
"
:style="{ width: historyWidth + 'px' }"
>