fix: layout sider trigger width error, close #201
parent
9fd97fccfa
commit
b604fd5c0a
|
@ -210,7 +210,7 @@ export default {
|
|||
const triggerDom = (
|
||||
trigger !== null
|
||||
? zeroWidthTrigger || (
|
||||
<div class={`${prefixCls}-trigger`} onClick={this.toggle} style={{ width: `${siderWidth}px` }}>
|
||||
<div class={`${prefixCls}-trigger`} onClick={this.toggle} style={{ width: siderWidth }}>
|
||||
{trigger || defaultTrigger}
|
||||
</div>
|
||||
) : null
|
||||
|
|
Loading…
Reference in New Issue