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 bs-modal css variables #2353 #2354
Conversation
I completely understand that filling out the PR description can feel like a chore, but it's actually quite valuable for the reviewers. Your effort will go a long way in ensuring a smooth and efficient review process. Thank you GPT for providing the above 🤣 |
Codecov Report
@@ Coverage Diff @@
## master #2354 +/- ##
=======================================
Coverage 44.82% 44.82%
=======================================
Files 122 122
Lines 5133 5133
Branches 1082 1082
=======================================
Hits 2301 2301
Misses 2513 2513
Partials 319 319
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Please add in
To aid review plz. (after you have implemented the changes discussed in the issue) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @jmestxr!
@all-contributors please add @jmestxr for code, doc |
I've put up a pull request to add @jmestxr! 🎉 |
What is the purpose of this pull request?
Overview of changes: Fixes #2353
.modal
class tovue-final-modal
componentdisplay=block
for the.modal
class to disable display toggling provided by bootstrapBefore:
When using a (non-default) bootswatch theme, bs-modal css variables for modal component are not found, resulting in it not being styled properly:
bootswatch theme used: 'sketchy'
After:
bs-modal CSS variables now registered in modal component:
Anything you'd like to highlight/discuss:
Testing instructions:
site.json
inpackages/cli/test/functional/test_site
to add any non-default bootswatch theme (see https://markbind.org/userGuide/themes.html)packages/cli/test/functional/test_site
and runmarkbind serve -d
test_site/testModals.html
in browser and ensure that all modals are rendered correctly in terms of stylingProposed commit message: (wrap lines at 72 characters)
Register bs-modal css variables in Modal component
Checklist: ☑️