fix: iframe issue for atoms documentation (#17570)

* fix syntax for code examples

* update iframe styling
This commit is contained in:
Rajiv Sahal authored and GitHub committed 2024-11-11 08:28:02 +00:00
1 parent ce373c475c
commit 838e8b9e89
10 files changed
+45 -37

No files matched your search

@@ -26,7 +26,7 @@ export default function Availability() {
console.log("Deleted schedule successfully");
}}
/>
<>
</>
)
}
```
@@ -35,8 +35,8 @@ For a demonstration of the availability settings atom, please refer to the video
<p></p>
<iframe
width="560"
height="315"
style={{ width: "100%", maxWidth: "560px" }}
src="https://www.loom.com/embed/6fd65789f5744227b4ea6d0189d4fc67?sid=544a6afd-2836-4704-aa56-e801cbd93cbc"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
@@ -64,7 +64,7 @@ export default function Availability() {
console.log("Deleted schedule successfully");
}}
/>
<>
</>
)
}
```
@@ -74,8 +74,8 @@ For a demonstration of the availability settings atom with date overrides, pleas
<p></p>
<iframe
width="560"
height="315"
style={{ width: "100%", maxWidth: "560px" }}
src="https://www.loom.com/embed/aa9ba47cbc284496ac51c26e172c7b12?sid=6d2b5bb3-d2eb-4a95-adb5-c67d863d4e34"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"