Skip to content

Codex/add mobile bottom safe inset for action sheets - #151

Merged
Chucks1093 merged 6 commits into
accesslayerorg:mainfrom
Johnpii1:codex/add-mobile-bottom-safe-inset-for-action-sheets
Apr 25, 2026
Merged

Codex/add mobile bottom safe inset for action sheets#151
Chucks1093 merged 6 commits into
accesslayerorg:mainfrom
Johnpii1:codex/add-mobile-bottom-safe-inset-for-action-sheets

Conversation

@Johnpii1

Copy link
Copy Markdown
Contributor

Summary

Add mobile-safe bottom inset padding to shared DialogContent by adding pb-[calc(1.5rem+env(safe-area-inset-bottom))] and reset desktop spacing with sm:pb-6 in src/components/ui/dialog.tsx.
Add a focused unit test src/components/ui/dialog.test.tsx that renders Dialog/DialogContent and asserts the new mobile class and the desktop reset class are present.
Change is scoped to the dialog component and a single test file with no unrelated file churn.

Testing

Ran pnpm test src/components/ui/dialog.test.tsx, which passed (1 test file, 1 test passed).
Ran pnpm lint, which completed successfully.

  • pnpm lint
  • pnpm build

Checklist

close #132

  • Linked issue or backlog item
  • Scope is limited to the stated change
  • Updated docs if behavior or setup changed
  • Added screenshots for UI changes when relevant

@Chucks1093
Chucks1093 merged commit eebd021 into accesslayerorg:main Apr 25, 2026
1 check failed
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.

Add mobile bottom-safe inset for action sheets

2 participants