Skip to content

Commit 443684b

Browse files
committed
fix(platform): read text fields at 16px on touch phones so iOS does not zoom into them
EMCN fields set T043 (14px). The legacy chip inputs bumped to 16px on a coarse pointer below the compact breakpoint; the product shell now does the same for every EMCN text entry without touching the frozen package.
1 parent 52fa042 commit 443684b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎apps/sim/platform/styles/bootstrap.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,10 @@
1414
[data-sim-desktop-title-bar] [data-desktop-drag] :is(button, a, input, textarea, [role="tab"]) {
1515
-webkit-app-region: no-drag;
1616
}
17+
18+
/* iOS zooms the page into a focused text field set below 16px, so a touch phone reads them at 16px. */
19+
@media (pointer: coarse) and (width < 48rem) {
20+
[data-emcn] :is(input, textarea)[data-type] {
21+
font-size: var(--text-reading);
22+
}
23+
}

0 commit comments

Comments
 (0)