ant-design/components/breadcrumb/style/rtl.less
2020-03-16 17:03:34 +08:00

34 lines
567 B
Plaintext

@import '../../style/themes/index';
@import '../../style/mixins/index';
@breadcrumb-prefix-cls: ~'@{ant-prefix}-breadcrumb';
.@{breadcrumb-prefix-cls} {
&-rtl {
.clearfix;
direction: rtl;
> span {
float: right;
}
}
&-link {
> .@{iconfont-css-prefix} + span {
.@{breadcrumb-prefix-cls}-rtl & {
margin-right: 4px;
margin-left: 0;
}
}
}
&-overlay-link {
> .@{iconfont-css-prefix} {
.@{breadcrumb-prefix-cls}-rtl & {
margin-right: 4px;
margin-left: 0;
}
}
}
}