fix class search
This commit is contained in:
parent
5a603a084f
commit
5af8a2168d
|
@ -29,8 +29,8 @@ export default class ClassNormaliser extends Module {
|
|||
shouldIgnore(value) {
|
||||
if (!isNaN(value)) return true;
|
||||
if (value.endsWith('px') || value.endsWith('ch') || value.endsWith('em') || value.endsWith('ms')) return true;
|
||||
if (value.startsWith('rgba')) return true;
|
||||
if (value.includes('calc(')) return true;
|
||||
if (value.startsWith('#') && (value.length == 7 || value.length == 4)) return true;
|
||||
if (value.includes('calc(') || value.includes('rgba')) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue