openSUSE / chameleon

openSUSE Design System for Web
https://static.opensuse.org/chameleon/
GNU General Public License v3.0
13 stars 10 forks source link

Add base rtl support #40

Open hellcp opened 3 years ago

hellcp commented 3 years ago

This does look a touch broken, but it's a big improvement for those that need it:

html[lang^=ar] body,
html[lang^=he] body,
html[lang^=sy] body,
html[lang^=sam] body,
html[lang^=men] body,
html[lang^=man] body,
html[lang^=wo] body,
html[lang^=ff] body {
 direction:rtl;
 text-align: right;
}
guoyunhe commented 3 years ago

It is said that Bootstrap 5.0 will solve RTL issues. https://getbootstrap.com/docs/5.0/getting-started/rtl/

hellcp commented 3 years ago

We do already get complaints about missing rtl support in get.o.o though, and that is gonna be a problem for www.o.o as well