RTL css fix: only for dir=rtl
Merge pull request #1422 from Manduro/rtl-css-fixes

RTL css fix: only apply when dir=rtl