[PR #7944] fix(tui): center dialog properly and prevent overflow #12570

Open
opened 2026-02-16 18:17:28 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7944

State: open
Merged: No


Summary

  • Use justifyContent="center" instead of fixed paddingTop for true vertical centering
  • Add maxHeight constraint to prevent dialog from overflowing when terminal is small

Fixes #7902

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7944 **State:** open **Merged:** No --- ## Summary - Use `justifyContent="center"` instead of fixed `paddingTop` for true vertical centering - Add `maxHeight` constraint to prevent dialog from overflowing when terminal is small Fixes #7902
yindo added the pull-request label 2026-02-16 18:17:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12570