Closed SutuSebastian closed 2 months ago
Latest commit: bdfc07c2c6731be4b5c5aba98210d2682b4f6b01
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
flowbite-react | ✅ Ready (Inspect) | Visit Preview | Apr 16, 2024 11:14am |
flowbite-react-storybook | ✅ Ready (Inspect) | Visit Preview | Apr 16, 2024 11:14am |
[!IMPORTANT]
Auto Review Skipped
More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.
167 files out of 223 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits.
You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Approve :)
Description
Due to CSS media queries working on the root reference of the window size, some component examples are broken since the media queries reference the docs window and not the narrower preview container.
This PR brings isolation using
iframe
within thecode-demo
component, configurable at the code example level (granular), it is an opt-in config.Changes
/examples/<NAME>
page for thecode-demo
iframe to consumecode-demo
component to support iframe (opt in)navbar
,modal
,timeline
examples in iframeResult
Before
After