This commit is contained in:
ztplz 2019-01-22 15:15:50 +08:00 committed by 偏右
parent f26788c26e
commit 025bad6981
2 changed files with 1 additions and 5 deletions

View File

@ -215,7 +215,7 @@ class Sider extends React.Component<SiderProps, SiderState> {
parseFloat(String(collapsedWidth || 0)) === 0 ? (
<span
onClick={this.toggle}
className={`${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`}
className={`${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : ''}`}
>
<Icon type="bars" />
</span>

View File

@ -111,10 +111,6 @@
background: tint(@layout-sider-background, 10%);
}
&-left {
right: -@layout-zero-trigger-width;
}
&-right {
left: -@layout-zero-trigger-width;
}