From f7695d9f9a8e60924b0d2415b813166ce0290d52 Mon Sep 17 00:00:00 2001 From: qer Date: Tue, 23 Jun 2026 01:16:58 +0800 Subject: [PATCH 1/7] feat(web): remove sidebar and panel max-width limits Make the resize handle max width optional so the web sidebar and right-side detail/preview panel can be resized beyond their previous fixed maximums. --- .changeset/web-unbounded-panel-width.md | 5 +++++ apps/kimi-web/src/App.vue | 4 ---- apps/kimi-web/src/components/ResizeHandle.vue | 2 +- apps/kimi-web/src/composables/useDetailPanel.ts | 2 -- apps/kimi-web/src/composables/useResizable.ts | 6 +++--- apps/kimi-web/src/composables/useSidebarLayout.ts | 2 -- 6 files changed, 9 insertions(+), 12 deletions(-) create mode 100644 .changeset/web-unbounded-panel-width.md diff --git a/.changeset/web-unbounded-panel-width.md b/.changeset/web-unbounded-panel-width.md new file mode 100644 index 0000000000..6c0b5b244b --- /dev/null +++ b/.changeset/web-unbounded-panel-width.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": minor +--- + +Allow the web sidebar and detail panel to be resized beyond their previous fixed maximum widths. diff --git a/apps/kimi-web/src/App.vue b/apps/kimi-web/src/App.vue index beffa8e337..d0e82e5214 100644 --- a/apps/kimi-web/src/App.vue +++ b/apps/kimi-web/src/App.vue @@ -123,7 +123,6 @@ const { SIDEBAR_WIDTH_KEY, SIDEBAR_DEFAULT, SIDEBAR_MIN, - SIDEBAR_MAX, sessionColWidth, sidebarCollapsed, sideWidth, @@ -160,7 +159,6 @@ const { PREVIEW_WIDTH_KEY, PREVIEW_MIN, previewDefaultWidth, - previewMaxWidth, previewWidth, thinkingPanelText, thinkingVisible, @@ -561,7 +559,6 @@ function openPr(url: string): void { :storage-key="SIDEBAR_WIDTH_KEY" :default-width="SIDEBAR_DEFAULT" :min="SIDEBAR_MIN" - :max="SIDEBAR_MAX" @update:width="sessionColWidth = $event" />