Skip to content

Commit bec1a11

Browse files
authored
typo (#1361)
1 parent ef8b981 commit bec1a11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/responsive-iframe/src/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const iframeWidth = view(Inputs.range([200, 640], {step: 1, value: document.quer
1818
iframe.width = iframeWidth; // set the iframe width reactively
1919
```
2020

21-
On the embeded page (`src/embed.md`), the following code uses a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver) to observe the content height and posts a message to the parent frame reporting the new height.
21+
On the embedded page (`src/embed.md`), the following code uses a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver) to observe the content height and posts a message to the parent frame reporting the new height.
2222

2323
```js run=false
2424
const observer = new ResizeObserver(([entry]) => parent.postMessage({height: entry.target.offsetHeight}, "*"));
@@ -40,7 +40,7 @@ addEventListener("message", messaged);
4040
invalidation.then(() => removeEventListener("message", messaged));
4141
```
4242

43-
Lastly, the embeded page uses front matter to turn off the sidebar, header, footer, and pager. If you prefer, you can disable these for the entire project by adding these same options to the `observablehq.config.js` file.
43+
Lastly, the embedded page uses front matter to turn off the sidebar, header, footer, and pager. If you prefer, you can disable these for the entire project by adding these same options to the `observablehq.config.js` file.
4444

4545
```yaml run=false
4646
---

0 commit comments

Comments
 (0)