@qtoggle/qui 1.18.1 → 1.18.2
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.
- package/js/utils/css.js +1 -0
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/js/utils/css.js
CHANGED
|
@@ -115,6 +115,7 @@ export function findRules(selectorRe) {
|
|
|
115
115
|
let rules = [...sheet.cssRules]
|
|
116
116
|
let mRules = rules.filter(r => r.selectorText && r.selectorText.match(selectorRe)).map(function (rule) {
|
|
117
117
|
return rule.selectorText.split(',').map(function (selectorTextPart) {
|
|
118
|
+
selectorTextPart = selectorTextPart.trim()
|
|
118
119
|
if (!selectorTextPart.match(selectorRe)) {
|
|
119
120
|
return null
|
|
120
121
|
}
|
package/package.json
CHANGED