@import '../../style/themes/index'; @import '../../style/mixins/index'; @result-prefix-cls: ~'@{ant-prefix}-result'; .@{result-prefix-cls} { &-rtl { direction: rtl; } &-extra { > * { .@{result-prefix-cls}-rtl & { margin-right: 0; margin-left: 8px; } &:last-child { .@{result-prefix-cls}-rtl & { margin-left: 0; } } } } }