@adia-ai/web-modules 0.8.32 → 0.8.34

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.
@@ -153,6 +153,28 @@ admin-page-body > iframe {
153
153
  flex: 1;
154
154
  }
155
155
 
156
+ /* Padded standalone (gh#964) — opt-in variant of the iframe-as-page-content
157
+ pattern above, one level deeper: site.js's `route.padded` wraps the
158
+ isolated-doc iframe in <admin-page-body><section> so it inherits the
159
+ centered-column padding/max-width, instead of sitting full-bleed
160
+ directly in <admin-page-body>. The `> iframe` full-bleed rule above
161
+ does NOT match here (it's a direct-child selector) — this section
162
+ still needs its own stretch + iframe-fill treatment so the iframe
163
+ fills the available height inside its padded section rather than
164
+ collapsing to zero. */
165
+ admin-page-body > section:has(> iframe[data-standalone-frame]) {
166
+ flex: 1;
167
+ min-height: 0;
168
+ }
169
+
170
+ admin-page-body > section > iframe[data-standalone-frame] {
171
+ display: block;
172
+ inline-size: 100%;
173
+ block-size: 100%;
174
+ border: 0;
175
+ flex: 1;
176
+ }
177
+
156
178
  /* ── Tab content ──
157
179
  Marker for the active tab's form sections. Gutter/padding is
158
180
  owned by the <article> wrapper. */