diff --git a/build/embed-packager.js b/build/embed-packager.js index ac7a18451..b9051e510 100644 --- a/build/embed-packager.js +++ b/build/embed-packager.js @@ -20,7 +20,9 @@ function prefixCss(code, prefix) { var m = sel.match(/(^| )(body|html)($|\W.*)/i); if (m) 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; else return prefix + ' ' + sel;