@koine/utils 1.0.86 → 1.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,6 +43,7 @@ export function getMediaQueryWidthResolvers(customBreakpoints) {
|
|
|
43
43
|
* Media query between the two given breakpoints
|
|
44
44
|
*/
|
|
45
45
|
var between = function (br1, br2) {
|
|
46
|
+
br2 = br2 || getNextBreakpoint(br1);
|
|
46
47
|
return br2
|
|
47
48
|
? "(min-width: ".concat(breakpoints[br1], "px) and (max-width: ").concat(breakpoints[br2] - 0.02, "px)")
|
|
48
49
|
: min(br1);
|
|
@@ -46,6 +46,7 @@ function getMediaQueryWidthResolvers(customBreakpoints) {
|
|
|
46
46
|
* Media query between the two given breakpoints
|
|
47
47
|
*/
|
|
48
48
|
var between = function (br1, br2) {
|
|
49
|
+
br2 = br2 || getNextBreakpoint(br1);
|
|
49
50
|
return br2
|
|
50
51
|
? "(min-width: ".concat(breakpoints[br1], "px) and (max-width: ").concat(breakpoints[br2] - 0.02, "px)")
|
|
51
52
|
: min(br1);
|