Skip to content

fix: unbalanced div broke Projects launcher card layout - #282

Open
NovakPAai wants to merge 1 commit into
mainfrom
claude/novak-projects-launcher-layout-fix
Open

fix: unbalanced div broke Projects launcher card layout#282
NovakPAai wants to merge 1 commit into
mainfrom
claude/novak-projects-launcher-layout-fix

Conversation

@NovakPAai

Copy link
Copy Markdown
Collaborator

Summary

  • The missing-folder-detection refactor (merged into 7.16.0) added the .launcher-card-actions wrapper only in the missing-folder branch, but left the pre-existing closing </div> in the normal (folder-exists) branch unopened. The unbalanced markup made every action button/select render as a direct flex-column child of .launcher-card, stretching each one to full card width on its own row instead of a compact action row — this is the "криво выставлены блоки" layout the user reported (see screenshot in conversation, v7.16.0).
  • Opens the missing <div class="launcher-card-actions"> before the button row for existing-folder cards.
  • Extends the action-row sizing rule to the <select> terminal-panes control so it matches button sizing instead of falling back to the smaller default.
  • Pushes the rarely-used Remove (×) control to the end of the row (margin-left: auto) with quieter, muted styling (turns red only on hover) so it doesn't visually compete with New/Last/Terminal.

Test plan

  • node --test "test/**/*.test.js" — 257 passed, 1 skipped (win32-only)
  • Ran the app locally (node bin/cli.js run), verified the Projects launcher grid at 1440px and 1024px viewports via Playwright — cards render as a proper multi-column grid with New/Last/Terminal on one row and Remove aligned right; missing-folder cards keep their dashed red border + Re-clone/Remove row

🤖 Generated with Claude Code

The missing-folder-detection refactor added the launcher-card-actions
wrapper only for the missing-folder branch, but left the pre-existing
closing </div> in the normal (folder-exists) branch without ever
opening it. The unbalanced markup made every action button/select
render as a direct flex-column child of .launcher-card, stretching
each one to full card width on its own row instead of a compact
action row.

Also brings the <select> terminal-panes control in line with the
button sizing in that row, and pushes the rarely-used Remove control
to the end of the row with quieter styling so it doesn't compete
visually with New/Last.
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