fsanyoto commited on
Commit
3ae601b
·
verified ·
1 Parent(s): 05f25ff

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
web/src/customer-grid/FieldBatchAccessDialog.tsx CHANGED
@@ -183,7 +183,7 @@ export default function FieldBatchAccessDialog({
183
  }, [action, canApply, fields, onComplete, pathFor, person, personLabel, role]);
184
 
185
  return (
186
- <div className="shell-newdb-scrim" onClick={() => (busy ? null : onClose())}>
187
  <section
188
  className="shell-newdb shell-share"
189
  role="dialog"
 
183
  }, [action, canApply, fields, onComplete, pathFor, person, personLabel, role]);
184
 
185
  return (
186
+ <div className="shell-newdb-scrim cg-field-access-scrim" onClick={() => (busy ? null : onClose())}>
187
  <section
188
  className="shell-newdb shell-share"
189
  role="dialog"
web/src/index.css CHANGED
@@ -110,6 +110,10 @@
110
  paint underneath its own dialog — which is precisely the failure the paragraph above
111
  records, re-created one modal later. */
112
  --cg-z-overlay: 110;
 
 
 
 
113
 
114
  /* --- Loopable C1 tokens (wave-8 I7c) ------------------------------------
115
  ADDITIVE on purpose. The `--cg-*` tokens above are NOT redefined because
@@ -10650,6 +10654,11 @@ a.cg-map-ctl-b { text-decoration: none; }
10650
  padding-top: 18vh;
10651
  z-index: 80;
10652
  }
 
 
 
 
 
10653
  .shell-newdb {
10654
  width: 400px;
10655
  max-width: calc(100vw - 48px);
 
110
  paint underneath its own dialog — which is precisely the failure the paragraph above
111
  records, re-created one modal later. */
112
  --cg-z-overlay: 110;
113
+ /* Field-access is a true modal opened FROM the Fields portal overlay. It is the one
114
+ intentional exception to the usual "overlay over dialog" order: it must cover the
115
+ picker it was opened from, or its own controls are visible but unreachable. */
116
+ --cg-z-dialog: 120;
117
 
118
  /* --- Loopable C1 tokens (wave-8 I7c) ------------------------------------
119
  ADDITIVE on purpose. The `--cg-*` tokens above are NOT redefined because
 
10654
  padding-top: 18vh;
10655
  z-index: 80;
10656
  }
10657
+ /* Do not raise every shell confirmation. Only field access is opened from the
10658
+ body-portal'd Fields panel and therefore has to sit above that panel. */
10659
+ .cg-field-access-scrim {
10660
+ z-index: var(--cg-z-dialog);
10661
+ }
10662
  .shell-newdb {
10663
  width: 400px;
10664
  max-width: calc(100vw - 48px);