Skip to content

Fix/create project dialog scroll#211

Merged
nashsu merged 8 commits into
nashsu:mainfrom
thinkinbig:fix/create-project-dialog-scroll
May 24, 2026
Merged

Fix/create project dialog scroll#211
nashsu merged 8 commits into
nashsu:mainfrom
thinkinbig:fix/create-project-dialog-scroll

Conversation

@thinkinbig
Copy link
Copy Markdown
Contributor

Summary

Current Situation

In small screen, create project dialog is too large to fill all content

Solution

  • Add `max-h-[90vh]` and `overflow-hidden` to `DialogContent` so it never exceeds the viewport
  • Use `grid-rows-[auto_1fr_auto]` to pin the header and footer, making only the form body scroll
  • Add `overflow-y-auto min-h-0` to the form body div

Test plan

  • Open the create project dialog on a short window — all fields (Template, Language, Parent Directory) should be reachable by scrolling
  • On a tall window, the dialog should look identical to before
image

thinkinbig and others added 8 commits May 19, 2026 09:43
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…order

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add max-h-[90vh] and scroll to the form body so all fields
(Template, Language, Parent Directory) are reachable when the
window height is constrained.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nashsu nashsu merged commit e7ecb37 into nashsu:main May 24, 2026
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.

2 participants