diff --git a/docs/content/components/box-overlay.md b/docs/content/components/box-overlay.md index c7003a1c..10fe58bf 100644 --- a/docs/content/components/box-overlay.md +++ b/docs/content/components/box-overlay.md @@ -12,15 +12,15 @@ Use the `Box--overlay` with the `
` and [``](https://git Box overlays come in three widths. The default `Box--overlay` is 440px wide, `Box-overlay--narrow` is 320px wide, and `Box-overlay--wide` is 640px wide. -**Note:** `position: fixed` has been disabled in this example +```html live -```erb
Open dialog

Box title

@@ -50,6 +50,10 @@ Box overlays come in three widths. The default `Box--overlay` is 440px wide, `Bo
+ + + + ``` In github.com there is a shared dialog partial. You will only have to pass in the modal content: diff --git a/docs/src/@primer/gatsby-theme-doctocat/components/live-preview-wrapper.js b/docs/src/@primer/gatsby-theme-doctocat/components/live-preview-wrapper.js index 33f2294d..afc74449 100644 --- a/docs/src/@primer/gatsby-theme-doctocat/components/live-preview-wrapper.js +++ b/docs/src/@primer/gatsby-theme-doctocat/components/live-preview-wrapper.js @@ -7,7 +7,7 @@ function LivePreviewWrapper({children}) { -
{children}
+
{children}
) }