This commit is contained in:
梁灏 2019-01-02 12:01:26 +08:00
parent 07201151da
commit 9cdfb2e206
3 changed files with 23 additions and 0 deletions

View file

@ -42,6 +42,7 @@
`${prefixCls}`,
`${prefixCls}-${this.type}`,
{
[`${prefixCls}-with-text`]: this.hasSlot && this.orientation === 'center',
[`${prefixCls}-with-text-${this.orientation}`]: this.hasSlot,
[`${prefixCls}-dashed`]: !!this.dashed
}

View file

@ -18,6 +18,7 @@
display: block;
height: 1px;
width: 100%;
min-width: 100%;
margin: 24px 0;
clear: both;
}