arco-design / arco-design-vue

A Vue.js 3 UI Library based on Arco Design
https://arco.design/vue
MIT License
2.68k stars 525 forks source link

RTL support #12

Open mortezasabihi opened 2 years ago

mortezasabihi commented 2 years ago

Basic Info

What are the similar cases of this feature

Nothing

What problem does this feature solve?

Adding RTL support to solve right-to-left style.

Extra info

I'm interested in contributing.

PengJiyuan commented 2 years ago

Get, will add soon

chahu1981 commented 1 year ago

这个什么时候能更新啊?现在我用document.body.setAttribute('dir', 'rtl');方法可以临时使用。 大部分能翻转,目前使用问题最大的就是Tabs组件,切换了RTL以后,点击选项卡下面就空白了。 <div class="arco-tabs-content-list" style="margin-left: -100%;"> react版本是好使的,这个margin-left: -100%;我看react版本是能变成margin-right: -100%;的,VUE版本不行。