From 87076d0e13516c18d571f085be9829d3fa0f343e Mon Sep 17 00:00:00 2001 From: Cristian Magherusan-Stanciu Date: Fri, 5 Jun 2026 13:18:34 +0200 Subject: [PATCH] feat(frontend/mobile): viewport meta + touch-target minimums + tap-highlight + safe-area padding - viewport: add viewport-fit=cover for iOS notch support; drop spurious initial-scale=1.0 decimal (spec says 1) - meta: add format-detection=telephone=no to stop iOS auto-linkifying numeric data in tables/charts - css: -webkit-tap-highlight-color: transparent on button/a/[role=button] with explicit opacity:0.85 :active feedback instead of the blue flash - css: safe-area-inset-top on .app-topbar and safe-area-inset-bottom on .app-shell so content clears notch and home indicator on iPhone - css: touch-target minimums (min-height/width: 44px) on all interactive controls under @media (pointer: coarse) so desktop layout is unaffected; checkboxes/radios grow via label:has() instead to avoid glyph bloat - html: inputmode="numeric" pattern="[0-9]*" on all 15 numeric inputs (coverage %, grace days, notification days, ramp params) to surface the numeric keypad on mobile - html: autocomplete="email" on the notification email input --- frontend/src/index.html | 35 +++++++-------- frontend/src/styles/responsive.css | 68 +++++++++++++++++++++++++++++- 2 files changed, 84 insertions(+), 19 deletions(-) diff --git a/frontend/src/index.html b/frontend/src/index.html index c320703b7..ae9280bb4 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -2,7 +2,8 @@ - + +