feat(FN-959): add --overlay-padding-top CSS variable to reposition modal on mobile keyboard open

- Add --overlay-padding-top CSS custom property to modal overlay styles
- Update TerminalModal component to apply dynamic padding-top when mobile keyboard is detected
- Add regression tests verifying overlay padding-top behavior with keyboard events
This commit is contained in:
gsxdsm
2026-04-05 11:19:38 -07:00
parent ce124e0b74
commit 7215ed1bdf
3 changed files with 46 additions and 1 deletions

View File

@@ -2582,7 +2582,7 @@ body {
z-index: 100;
justify-content: center;
align-items: flex-start;
padding-top: 10vh;
padding-top: var(--overlay-padding-top, 10vh);
}
.modal-overlay.open {
display: flex;