codex-webstrapper 0.9.7 → 0.9.9
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/package.json +1 -1
- package/src/bridge-shim.js +16 -21
package/package.json
CHANGED
package/src/bridge-shim.js
CHANGED
|
@@ -333,8 +333,10 @@
|
|
|
333
333
|
/* ==== Tablet & small screen fixes (max-width: 768px) ==== */
|
|
334
334
|
@media (max-width: 768px) {
|
|
335
335
|
|
|
336
|
-
/* Viewport stabilization
|
|
337
|
-
|
|
336
|
+
/* Viewport stabilization — only on body, NOT html.
|
|
337
|
+
Setting overflow-x:hidden on <html> breaks iOS momentum scrolling
|
|
338
|
+
for nested scroll containers. */
|
|
339
|
+
body {
|
|
338
340
|
overflow-x: hidden !important;
|
|
339
341
|
-webkit-text-size-adjust: 100% !important;
|
|
340
342
|
}
|
|
@@ -352,6 +354,17 @@
|
|
|
352
354
|
white-space: nowrap !important;
|
|
353
355
|
}
|
|
354
356
|
|
|
357
|
+
/* Ensure scroll containers work on iOS.
|
|
358
|
+
-webkit-overflow-scrolling:touch enables momentum scrolling.
|
|
359
|
+
touch-action:pan-y ensures vertical swipes are treated as scrolls. */
|
|
360
|
+
.vertical-scroll-fade-mask-top,
|
|
361
|
+
.vertical-scroll-fade-mask,
|
|
362
|
+
[class*="overflow-y-auto"],
|
|
363
|
+
[class*="overflow-auto"] {
|
|
364
|
+
-webkit-overflow-scrolling: touch !important;
|
|
365
|
+
touch-action: pan-y !important;
|
|
366
|
+
}
|
|
367
|
+
|
|
355
368
|
/* Prevent iOS auto-zoom on focus (triggers when font-size < 16px) */
|
|
356
369
|
input, textarea, select {
|
|
357
370
|
font-size: 16px !important;
|
|
@@ -453,20 +466,6 @@
|
|
|
453
466
|
width: 100vw !important;
|
|
454
467
|
}
|
|
455
468
|
|
|
456
|
-
/* Header toolbar — swipeable so all buttons remain accessible.
|
|
457
|
-
When the sidebar is collapsed the portal area expands and can
|
|
458
|
-
push right-side buttons off-screen; scrolling keeps them
|
|
459
|
-
reachable via horizontal swipe. */
|
|
460
|
-
.h-toolbar {
|
|
461
|
-
overflow-x: auto !important;
|
|
462
|
-
overflow-y: hidden !important;
|
|
463
|
-
-webkit-overflow-scrolling: touch !important;
|
|
464
|
-
scrollbar-width: none !important;
|
|
465
|
-
}
|
|
466
|
-
.h-toolbar::-webkit-scrollbar {
|
|
467
|
-
display: none !important;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
469
|
/* Prevent header-left from consuming more than half the bar.
|
|
471
470
|
The app sets an inline min-width via CSS vars that over-allocates
|
|
472
471
|
space for the portal area — override it so buttons fit. */
|
|
@@ -477,6 +476,7 @@
|
|
|
477
476
|
flex-shrink: 0 !important;
|
|
478
477
|
padding-left: 4px !important;
|
|
479
478
|
padding-right: 0 !important;
|
|
479
|
+
overflow: hidden !important;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
/* Collapse the empty portal gap when sidebar is hidden */
|
|
@@ -485,11 +485,6 @@
|
|
|
485
485
|
padding-right: 2px !important;
|
|
486
486
|
}
|
|
487
487
|
|
|
488
|
-
/* Keep right-side buttons from shrinking below usable size */
|
|
489
|
-
.h-toolbar button {
|
|
490
|
-
flex-shrink: 0 !important;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
488
|
/* Use stable viewport height */
|
|
494
489
|
#root {
|
|
495
490
|
height: calc(var(--cw-vh, 1vh) * 100) !important;
|