ant-design/components/breadcrumb/style/rtl.less
Suki小火车 d5e7187d9d
fix: Breadcrumb link margin (#24490)
* fix: breadcrumb a 标签添加间距

* Update components/breadcrumb/style/index.less

Co-authored-by: 偏右 <afc163@gmail.com>

* chore: fix in rtl

* chore: add changelog

* chore: remove changelog

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-27 20:40:19 +08:00

35 lines
602 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,
> .@{iconfont-css-prefix} + a {
.@{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;
}
}
}
}