style: optimize layout rtl (#23921)

This commit is contained in:
xrkffgg 2020-05-07 10:18:51 +08:00 committed by GitHub
parent c102053f3a
commit ee80a2f710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -123,3 +123,4 @@
}
@import './light';
@import './rtl';

View 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;
}
}