Skip to content

fix: prevent settings dialog overflow on small screens and widen dialog#61

Merged
j4rviscmd merged 1 commit intomainfrom
fix/settings-dialog-fix
Mar 26, 2026
Merged

fix: prevent settings dialog overflow on small screens and widen dialog#61
j4rviscmd merged 1 commit intomainfrom
fix/settings-dialog-fix

Conversation

@j4rviscmd
Copy link
Copy Markdown
Owner

Summary

  • Add max-h-[90vh] and overflow-y-auto to DialogContent to prevent the settings dialog from overflowing when the window height is small
  • Widen the dialog from max-w-sm (384px) to max-w-xl (576px)
  • Extract theme options into a typed data array to reduce repetition

Test plan

  • Open settings dialog on a small window height — verify content is scrollable
  • Open settings dialog on a large screen — verify no unnecessary scrollbar appears
  • Verify dialog width is noticeably wider than before
  • Verify all three theme options (Light/Dark/System) still function correctly

🤖 Generated with Claude Code

- Add max-h-[90vh] and overflow-y-auto to DialogContent for scrollable overflow
- Widen dialog from max-w-sm (384px) to max-w-xl (576px)
- Extract theme options into a typed data array to reduce repetition

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@j4rviscmd j4rviscmd added the bug Something isn't working label Mar 26, 2026
@j4rviscmd j4rviscmd merged commit 3e1e4aa into main Mar 26, 2026
2 checks passed
@j4rviscmd j4rviscmd deleted the fix/settings-dialog-fix branch March 26, 2026 13:19
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

None yet

Development

Successfully merging this pull request may close these issues.

1 participant