@ddtcorex/dsh-maestro-config 0.5.0 → 0.5.1

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.
package/lib/client.js CHANGED
@@ -3365,6 +3365,21 @@ function MaestroSettingsTab({ rpcCall, configRpcCall }) {
3365
3365
  @media (max-width: 390px) {
3366
3366
  [data-maestro-tab] { min-height:38px !important; height:auto !important; padding:0 10px !important; font-size:12px !important; }
3367
3367
  }
3368
+ /* iOS field floor opt-out (dsh-maestro-mobile zoom guard).
3369
+ Every text field on the page is held at 16px under
3370
+ html[data-mobile-nav-ios] inside this same predicate, because iOS WebKit
3371
+ magnifies the visual viewport for a focused field below 16px. That floor
3372
+ picks fields this panel never declared, so on a phone the settings inputs
3373
+ render 2-3px larger than the labels beside them. Restore plain inheritance
3374
+ for our own fields only. The :not(#\u2026) clause matches every element (no node
3375
+ carries that id) and exists purely for id-level specificity: the floor
3376
+ carries ten :not([type=\u2026]) clauses, so an equal-specificity !important rule
3377
+ loses and the fields grow back. */
3378
+ @media (max-width: 1023px) and (pointer: coarse) {
3379
+ html[data-mobile-nav-ios] [data-maestro-panel] input:not(#dsh-field-floor-opt-out),
3380
+ html[data-mobile-nav-ios] [data-maestro-panel] textarea:not(#dsh-field-floor-opt-out),
3381
+ html[data-mobile-nav-ios] [data-maestro-panel] select:not(#dsh-field-floor-opt-out) { font-size:inherit !important; }
3382
+ }
3368
3383
  `;
3369
3384
  const tag = document.createElement("style");
3370
3385
  tag.dataset.plugin = "@ddtcorex/dsh-maestro-config";
@@ -1 +1 @@
1
- {"version":3,"file":"MaestroSettings.d.ts","sourceRoot":"","sources":["../../../src/client/MaestroSettings.tsx"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAw0CH,wBAAgB,kBAAkB,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAC;IAAC,aAAa,CAAC,EAAE,GAAG,CAAA;CAAE;;;;;;;;;mBA4ZmE,GAAG;;gBAoBzK"}
1
+ {"version":3,"file":"MaestroSettings.d.ts","sourceRoot":"","sources":["../../../src/client/MaestroSettings.tsx"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAw0CH,wBAAgB,kBAAkB,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAC;IAAC,aAAa,CAAC,EAAE,GAAG,CAAA;CAAE;;;;;;;;;mBA2amE,GAAG;;gBAoBzK"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddtcorex/dsh-maestro-config",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "private": false,
5
5
  "description": "Maestro Config — shared settings service for the dsh-maestro-* suite over the single namespaced store (~/.dsh/maestro/settings.json)",
6
6
  "type": "module",
@@ -1431,6 +1431,21 @@ export function MaestroSettingsTab({ rpcCall, configRpcCall }: { rpcCall: any; c
1431
1431
  @media (max-width: 390px) {
1432
1432
  [data-maestro-tab] { min-height:38px !important; height:auto !important; padding:0 10px !important; font-size:12px !important; }
1433
1433
  }
1434
+ /* iOS field floor opt-out (dsh-maestro-mobile zoom guard).
1435
+ Every text field on the page is held at 16px under
1436
+ html[data-mobile-nav-ios] inside this same predicate, because iOS WebKit
1437
+ magnifies the visual viewport for a focused field below 16px. That floor
1438
+ picks fields this panel never declared, so on a phone the settings inputs
1439
+ render 2-3px larger than the labels beside them. Restore plain inheritance
1440
+ for our own fields only. The :not(#…) clause matches every element (no node
1441
+ carries that id) and exists purely for id-level specificity: the floor
1442
+ carries ten :not([type=…]) clauses, so an equal-specificity !important rule
1443
+ loses and the fields grow back. */
1444
+ @media (max-width: 1023px) and (pointer: coarse) {
1445
+ html[data-mobile-nav-ios] [data-maestro-panel] input:not(#dsh-field-floor-opt-out),
1446
+ html[data-mobile-nav-ios] [data-maestro-panel] textarea:not(#dsh-field-floor-opt-out),
1447
+ html[data-mobile-nav-ios] [data-maestro-panel] select:not(#dsh-field-floor-opt-out) { font-size:inherit !important; }
1448
+ }
1434
1449
  `
1435
1450
  const tag = document.createElement('style')
1436
1451
  tag.dataset.plugin = '@ddtcorex/dsh-maestro-config'