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