We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d38014 + 6c74fb5 commit 7302e88Copy full SHA for 7302e88
lib/index.js
@@ -355,7 +355,7 @@ module.exports = class Breakpoints {
355
return "1x";
356
}
357
const largestResolution = [...option.multipliers].sort().pop();
358
- const regex = new RegExp(REGEXP.resolution);
+ const regex = new RegExp(REGEXP.resolution, "g");
359
const resolution = [...largestResolution.matchAll(regex)][0];
360
if (!resolution) {
361
return "";
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "@factorial/drupal-breakpoints-css",
3
"description": "Drupal breakpoints to css customProperties",
4
- "version": "0.1.0",
+ "version": "0.1.2",
5
"main": "index.js",
6
"license": "MIT",
7
"private": false,
0 commit comments