You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default the desktop preview fills the full container width and height (responsive mode). Set `desktop-responsive: false` to use a strict 16:10 contain fit instead — the full 1440 × 900px frame is always visible with no clipping, leaving symmetric gaps above and below when the container is wider than it is tall.
72
+
By default the desktop preview fills the full container width and height (responsive mode). Set `desktop_responsive: false` to use a strict 16:10 contain fit instead — the full 1440 × 900px frame is always visible with no clipping, leaving symmetric gaps above and below when the container is wider than it is tall.
73
73
74
74
<!-- markdownlint-disable MD037 -->
75
75
{{< example-bookshop lang="bookshop" >}}
@@ -81,7 +81,7 @@ By default the desktop preview fills the full container width and height (respon
81
81
content: Full 1440×900px frame always visible, no clipping
Desktop scaling depends on the `desktop-responsive` argument:
274
+
Desktop scaling depends on the `desktop_responsive` argument:
275
275
276
-
| Mode | `desktop-responsive` | Behaviour |
276
+
| Mode | `desktop_responsive` | Behaviour |
277
277
|------|----------------------|-----------|
278
278
| Responsive (default) | `true` | Scales to fill the full container width; iframe height is adjusted dynamically so the container height is also filled. The site inside sees a 1440px-wide viewport. |
279
279
| Strict aspect ratio | `false` | Contain fit — the full 1440 × 900px frame is always visible; symmetric gaps may appear above and below on wide containers. |
@@ -301,7 +301,7 @@ Buttons for hidden device views are automatically hidden from the control bar, a
301
301
302
302
### Container constraints
303
303
304
-
In responsive mode (default), the desktop preview fills whatever container it is placed in. For best results with `desktop-responsive: false` or when using `cover: true`:
304
+
In responsive mode (default), the desktop preview fills whatever container it is placed in. For best results with `desktop_responsive: false` or when using `cover: true`:
305
305
306
306
- Use `fluid: true` or `width: 12` for full-width layouts
307
307
- Use a container at least as wide as the desired desktop zoom level
0 commit comments