diff --git a/components/layout/style/index.less b/components/layout/style/index.less index f186662ae8..11acd3a4d5 100644 --- a/components/layout/style/index.less +++ b/components/layout/style/index.less @@ -123,3 +123,4 @@ } @import './light'; +@import './rtl'; diff --git a/components/layout/style/rtl.less b/components/layout/style/rtl.less new file mode 100644 index 0000000000..da7aca0dd5 --- /dev/null +++ b/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; + } +}