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

Add Bootstrap v5 compatibility #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

UPLYNXED
Copy link

Bootstrap 5 introduced bs- prefixes on the custom css properties.

This PR adds back in compatibility by checking if the breakpoint properties come up empty and then setting the variables with the values of the prefixed properties.

There's probably a neater way to do this, but this works for me.

@lanesCSO
Copy link

@UPLYNXED has there been made available yet?

@UPLYNXED
Copy link
Author

UPLYNXED commented Jul 11, 2023

@UPLYNXED has there been made available yet?

@lanesCSO
There's a release on my fork that you can use that works, I use it myself too.
https://github.com/UPLYNXED/bs-breakpoints/releases/tag/v1.1.1-bs5

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

2 participants