Browse Source

style: optimize layout rtl (#23921)

pull/23925/head
xrkffgg 5 years ago
committed by GitHub
parent
commit
ee80a2f710
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      components/layout/style/index.less
  2. 10
      components/layout/style/rtl.less

1
components/layout/style/index.less

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

10
components/layout/style/rtl.less

@ -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…
Cancel
Save