bootstrap-detect-breakpoint
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "bootstrap-detect-breakpoint", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Detect the current Bootstrap breakpoint in JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,7 +33,7 @@ # bootstrap-detect-breakpoint | ||
## Get it working with Bootstrap 5 | ||
## Works in Bootstrap 4 and Bootstrap 5 from version 5.3 | ||
In Bootstrap 5 there is an [issue that the css variables for breakpoints are missing](https://github.com/twbs/bootstrap/issues/36094). I already created a [pull request](https://github.com/twbs/bootstrap/pull/36095), but I don't know when or if it will be merged. | ||
In Bootstrap 5 prior 5.3 there is an [issue that the css variables for breakpoints are missing](https://github.com/twbs/bootstrap/issues/36094). I already created a [pull request](https://github.com/twbs/bootstrap/pull/36095), and it will be merged with version 5.3. 🥳 | ||
Until then you can make the bootstrap-detect-breakpoint script work with Bootstrap 5 by just adding this to your scss | ||
Up to version 5.3, you can use the bootstrap-detect-breakpoint script with Bootstrap 5 by simply adding the following to your scss | ||
```scss | ||
@@ -40,0 +40,0 @@ :root { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21258