From 46fcb4a9b050588afe86eb068e5454c1cc63b06e Mon Sep 17 00:00:00 2001 From: Reiss Cashmore Date: Mon, 30 Oct 2023 17:21:47 +0000 Subject: [PATCH] Formatting --- docs/widgets/services/iframe.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/docs/widgets/services/iframe.md b/docs/widgets/services/iframe.md index 297a7f6e..69d3ae76 100644 --- a/docs/widgets/services/iframe.md +++ b/docs/widgets/services/iframe.md @@ -19,7 +19,14 @@ widget: type: iframe name: myIframe # string - required - Also helps if you would like to target the iframe with a button src: "http://example.com" # string - required - URL of the content to load within the iFrame - sizes: { "xs": "60", "sm": "60", "md": "80", "lg": "80", "xl": "80", "2xl": "80" } # optional - Controls the height of the iframe (width is always 100%) The value for each breakpoint size must map directly to a field in the Tailwind Height CSS classes + sizes: { + "xs": "60", + "sm": "60", + "md": "80", + "lg": "80", + "xl": "80", + "2xl": "80", + } # optional - Controls the height of the iframe (width is always 100%) The value for each breakpoint size must map directly to a field in the Tailwind Height CSS classes referrerPolicy: "same-origin" # string - optional - no default allowPolicy: "autoplay fullscreen gamepad" # string - optional - no default - Control the permissions for the iFrame content allowFullscreen: false # boolean - optional - default: true - Controls whether you can interact with a fullscreen button from within the iframe content and have the content expand into fullscreen @@ -30,13 +37,14 @@ widget: ``` ### Available Sizes + [Tailwind Docs](https://tailwindcss.com/docs/height) ### References -[referrerPolicy MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) -[allowFullscreen MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allowfullscreen) -[loading MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#loading) -[scrolling MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#scrolling) -[border MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#frameborder) -[allowPolicy MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy) +[referrerPolicy MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)
+[allowFullscreen MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allowfullscreen)
+[loading MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#loading)
+[scrolling MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#scrolling)
+[border MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#frameborder)
+[allowPolicy MSDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy)