mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-10-24 13:31:02 +00:00
Tweak formatting
This commit is contained in:
parent
8bbbafe851
commit
89fdef0d08
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ const rtl = require('postcss-rtl');
|
|||
const CSS_PROCESSOR = postcss([rtl()]);
|
||||
|
||||
function processCss(css) {
|
||||
return CSS_PROCESSOR.process(css)
|
||||
.css.replace(/\[dir=rtl\]/g, ':host(:dir(rtl))')
|
||||
return CSS_PROCESSOR.process(css).css
|
||||
.replace(/\[dir=rtl\]/g, ':host(:dir(rtl))')
|
||||
.replace(/\[dir=ltr\]/g, ':host(:dir(ltr))')
|
||||
.replace(/\[dir\]/g, '');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue