sdk css 编译调整
This commit is contained in:
parent
310f153c32
commit
6c488a3d10
|
@ -20,7 +20,9 @@ function prefixCss(code, prefix) {
|
||||||
var m = sel.match(/(^| )(body|html)($|\W.*)/i);
|
var m = sel.match(/(^| )(body|html)($|\W.*)/i);
|
||||||
if (m)
|
if (m)
|
||||||
return m[1] + prefix + m[3];
|
return m[1] + prefix + m[3];
|
||||||
else if (sel.match(/^(?:\.fr-|\.fa|\.is\-modalOpened)/))
|
else if (sel.match(/^\.is\-modalOpened/))
|
||||||
|
return sel.replace(/^\.is\-modalOpened\s/, '.is-modalOpened ' + prefix + ' ')
|
||||||
|
else if (sel.match(/^(?:\.fr-|\.fa)/))
|
||||||
return sel;
|
return sel;
|
||||||
else
|
else
|
||||||
return prefix + ' ' + sel;
|
return prefix + ' ' + sel;
|
||||||
|
|
Loading…
Reference in New Issue