fix(layout): raise resizable panel minimum width to 240

This commit is contained in:
Eve authored and GitHub committed 2026-09-14 14:52:39 +08:00
1 parent 1533064f1f
commit 1ea6d2907b
4 files changed
+41 -9

No files matched your search

+1 -1
View File
@@ -3877,7 +3877,7 @@ onUnmounted(() => {
<div
v-if="!isDetachedWindowContext && showAiPanel"
v-show="!isZenMode"
:class="[isClassicLayout ? 'h-full relative z-30 isolate bg-background' : 'h-full relative z-30 isolate rounded-md border border-border/80 bg-background', isAiPanelMaximized ? 'min-w-0 flex-1' : 'min-w-[180px] max-w-full']"
:class="[isClassicLayout ? 'h-full relative z-30 isolate bg-background' : 'h-full relative z-30 isolate rounded-md border border-border/80 bg-background', isAiPanelMaximized ? 'min-w-0 flex-1' : 'min-w-[240px] max-w-full']"
:style="isAiPanelMaximized ? {} : { width: aiPanelWidth + 'px' }"
>
<div v-if="!isAiPanelMaximized" class="panel-resize-handle panel-resize-handle--left" @mousedown="startAiPanelResize" />