mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
style: optimize layout rtl (#23921)
This commit is contained in:
parent
c102053f3a
commit
ee80a2f710
@ -123,3 +123,4 @@
|
||||
}
|
||||
|
||||
@import './light';
|
||||
@import './rtl';
|
||||
|
10
components/layout/style/rtl.less
Normal file
10
components/layout/style/rtl.less
Normal file
@ -0,0 +1,10 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
|
||||
@layout-prefix-cls: ~'@{ant-prefix}-layout';
|
||||
|
||||
.@{layout-prefix-cls} {
|
||||
&-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user