Skip to content

fix(desktop): increase sidebar minimum drag width to 200px#2248

Merged
esengine merged 1 commit into
esengine:mainfrom
zhangyapu1:fix/sidebar-min-width-200-clean
May 29, 2026
Merged

fix(desktop): increase sidebar minimum drag width to 200px#2248
esengine merged 1 commit into
esengine:mainfrom
zhangyapu1:fix/sidebar-min-width-200-clean

Conversation

@zhangyapu1

Copy link
Copy Markdown

中文说明

侧边栏拖拽最小宽度从 160px 调整为 200px,防止用户拖拽调整宽度时「新建会话」文字被隐藏。

  • CSS 在侧边栏容器宽度 ≤190px 时会隐藏按钮文字(styles.css:1108
  • MIN_WIDTH = 160 允许拖拽至 160px,导致文字被隐藏
  • 修改后最小宽度为 200px,确保文字始终可见

关联 Issue: #2166


English Description

Increase sidebar minimum drag width from 160px to 200px to prevent the "New Chat" button text from being hidden when users drag to resize the sidebar.

  • CSS hides button text when sidebar container width ≤190px (styles.css:1108)
  • Previous MIN_WIDTH = 160 allowed dragging to 160px, causing text to be hidden
  • New minimum width of 200px ensures text remains visible at all times

Closes #2166

侧边栏拖拽最小宽度从 160px 调整为 200px,防止拖拽时「新建会话」文字被隐藏(CSS 在 ≤190px 时隐藏文字)。

Increase sidebar minimum drag width from 160px to 200px to prevent the "New Chat" text from being hidden when dragging (CSS hides text at ≤190px container width).

Closes esengine#2166

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
@zhangyapu1 zhangyapu1 mentioned this pull request May 29, 2026
Closed

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple, correct: bumps the desktop sidebar MIN_WIDTH from 160 to 200px in useResizable.ts. Single-constant change, no side effects, CI green. LGTM.

@esengine esengine merged commit 621aad4 into esengine:main May 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

显示bug 左上角重叠

2 participants