Skip to content

fix(ui): prevent close button overlapping theme toggle#176

Merged
shantur merged 1 commit intodevfrom
codenomad/issue-175
Feb 15, 2026
Merged

fix(ui): prevent close button overlapping theme toggle#176
shantur merged 1 commit intodevfrom
codenomad/issue-175

Conversation

@codenomadbot
Copy link
Contributor

@codenomadbot codenomadbot bot commented Feb 15, 2026

What

Fixes the overlap on the “New Instance” / folder selection overlay by moving the close (X) control into the existing top-right action row (next to the theme toggle), instead of rendering a separate absolutely-positioned button.

Why

Both the overlay close button (packages/ui/src/App.tsx) and the folder selection header actions (packages/ui/src/components/folder-selection-view.tsx) were absolutely positioned in the same top-right corner, causing them to overlap at any viewport width.

Changes

  • Remove the standalone absolute close button from packages/ui/src/App.tsx.
  • Add an optional onClose action to packages/ui/src/components/folder-selection-view.tsx and render a close icon button in the same flex row as the theme toggle.

Testing

  • npm run typecheck (fails in CI sandbox here: tsc not found in this runtime)

--
Yours,
CodeNomadBot

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.

1 participant

Comments