Skip to content

fix: move sidebar expand button to bottom section#275

Merged
butschster merged 2 commits intomasterfrom
fix/sidebar-toggle-button-placement
Mar 31, 2026
Merged

fix: move sidebar expand button to bottom section#275
butschster merged 2 commits intomasterfrom
fix/sidebar-toggle-button-placement

Conversation

@butschster
Copy link
Copy Markdown
Member

What

Moves the sidebar expand button from the hard-to-find centered edge handle (hover-only) to the bottom section of the collapsed sidebar. Adds a full-width separator between the expand button and the connection status indicator.

Why

The previous edge-handle button was invisible until hover and positioned in the middle of the sidebar — users couldn't find it. Placing it in the bottom section makes it always visible and discoverable.

How

  • Removed the layout-sidebar__edge-handle (absolute-positioned, opacity-on-hover chevron)
  • Added layout-sidebar__expand-btn in the bottom section, above a full-width separator and the connection status dot
  • Increased both collapse (top) and expand (bottom) buttons to w-9 h-9 with w-5 h-5 icons so they match in size

Testing

  • Collapse the sidebar → expand button should appear at the bottom, above the connection dot, separated by a line
  • Expand the sidebar → collapse button at top-right of header
  • Both buttons should be the same visual size

Replaced the hidden edge-handle expand button (centered, hover-only) with
a visible expand button in the bottom section above the connection status.
Collapse button at top and expand button at bottom are now the same size.
@butschster butschster added the bug Something isn't working label Mar 31, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

📸 Storybook Screenshots

Screenshots for 2 changed components in this PR.

Widgets/LayoutSidebar

Collapsed

Widgets/LayoutSidebar / Collapsed

Expanded

Widgets/LayoutSidebar / Expanded


Auto-generated from Storybook stories of changed .vue files

@butschster butschster self-assigned this Mar 31, 2026
@butschster butschster merged commit b0cec01 into master Mar 31, 2026
2 checks passed
@butschster butschster deleted the fix/sidebar-toggle-button-placement branch March 31, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant