@electerm/electerm-react 3.15.173 → 3.15.175

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -152,3 +152,22 @@
152
152
  display none
153
153
  .type-tab-short
154
154
  display inline
155
+
156
+ // ---------------------------------------------------------------------------
157
+ // Touch-primary devices only (feature-detected via pointer media query, not
158
+ // UA sniffing or viewport width). iOS Safari and Android Chrome auto-zoom the
159
+ // page when focusing an input with font-size < 16px, and never zoom back out
160
+ // on blur, leaving the page stuck zoomed. Desktop browsers (even with
161
+ // touchscreens or narrow windows) report pointer: fine and never force-zoom,
162
+ // so this never matches them. Force 16px on all focusable form fields (antd
163
+ // inputs default to 14px) to prevent the zoom.
164
+ // ---------------------------------------------------------------------------
165
+ @media (pointer: coarse)
166
+ input,
167
+ textarea,
168
+ select,
169
+ .ant-input,
170
+ .ant-input-affix-wrapper .ant-input,
171
+ .ant-input-number-input,
172
+ .ant-select-selection-search-input
173
+ font-size 16px !important
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@electerm/electerm-react",
3
- "version": "3.15.173",
3
+ "version": "3.15.175",
4
4
  "description": "react components src for electerm",
5
5
  "main": "./client/components/main/main.jsx",
6
6
  "license": "MIT",