Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make dialog the right height and make it scroll if it's smaller #7103

Merged
merged 6 commits into from
May 22, 2024

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented May 22, 2024

I've marked the project creation dialog as "compact", so that it's only as tall as it needs to be.

However, by default, compact forms don't scroll because they have overflow set to hidden. This is a problem on very short windows. To get around this, I've set overflow to unset on compact forms.

I've also removed min-height: 0 which has some weird side effects on the centered dialog. Instead, I'm setting min-height to unset if it's compact.

image

This task also uncovered some inconsistencies and some borders that only show up sometimes, so I've removed them too.

Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 8:18am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 8:18am

@thomasheartman thomasheartman merged commit c47154b into main May 22, 2024
10 checks passed
@thomasheartman thomasheartman deleted the fix/make-create-project-form-compact branch May 22, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant