Repository navigation
fix(ui): resize dividers paint a fat multi-line bar when hovered or dragged - #104013
Merged
Merged
Conversation
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.
What Problem This Solves
Fixes an issue where hovering or dragging any resizable divider (chat split view, chat detail sidebar, navigation sidebar) painted the entire 4px gutter as a solid accent bar. Stacked against the active-pane ring and the detail panel's own
border-left, the drag affordance read as an ugly multi-line smear instead of a single divider line.The navigation sidebar resizer had the opposite bug: the document-level
.sidebar-resizer { background: transparent }override defeats the component's shadow:host(:hover)/:host(.dragging)accent styles (document rules win over:hostrules), so dragging the nav sidebar gave no visual feedback at all.Why This Change Was Made
Resize dividers should look like the hairline separators used everywhere else in the Control UI, with a thin accent highlight while interacting — not a filled gutter bar.
resizable-dividerhost is now transparent; the visible line is a centered::after— 1pxvar(--border)hairline at rest, 2pxvar(--accent)on hover/drag/keyboard focus. The extended::beforehit area and all pointer/keyboard behavior are unchanged..chat-sidebarloses itsborder-left: the divider rendered next to it already draws that separator, so the border doubled the line (mobile already suppressed it)..sidebar-resizerdrops the now-deadbackground: transparent; since the divider paints its own line, the nav resizer also gains the intended thin accent hover/drag feedback.User Impact
Dragging or hovering pane/sidebar dividers shows one thin accent line (color feedback preserved), instead of a fat bar flanked by extra border lines. The navigation sidebar resizer now gives hover/drag feedback at all.
Full-window drag state: before / after
Evidence
ui/src/test-helpers/control-ui-e2e.ts), light theme, split view open, mid-drag / hover / idle.pnpm test ui/src/components/resizable-divider.test.ts ui/src/pages/chat/chat-page.test.ts— 18/18 passed. These cover separator semantics, keyboard resize, and pointer drag, all untouched by this change.ui/src/e2e/sidebar-customization.e2e.test.tsassertselementFromPointhits the divider and drag-resizes the nav to an exact width; the host box and::beforehit area are unchanged, so those contracts hold.pnpm check:changed(lint/format/typecheck lanes) green.