Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rendering of modal examples on docs page #1171

Merged
merged 1 commit into from Jul 30, 2022

Conversation

dheineman
Copy link
Contributor

fix for modal bugs reported in #1145

Bootstrap 5.2 moved to using CSS variables for modals (twbs/bootstrap#36060) which are set on the modal class. As this class is not included in the sample code, the other modal classes (like modal-dialog and modal-content) could not find the correct variables to set things like the padding/margin etc.

This PR will add the modal class to the sample code as it is required for both the end user and correctly rendering the modals in the documentation.

@vercel
Copy link

vercel bot commented Jul 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
tabler ✅ Ready (Inspect) Visit Preview Jul 29, 2022 at 7:42PM (UTC)

@rjd22
Copy link
Collaborator

rjd22 commented Jul 30, 2022

Thank you for the fix!

@rjd22 rjd22 merged commit 03f5b50 into tabler:main Jul 30, 2022
@dheineman dheineman deleted the fix-modal-doc-rendering branch July 30, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants