fix: layout sider trigger width error, close #201

pull/225/head
tangjinzhou 2018-09-21 20:56:25 +08:00
parent 9fd97fccfa
commit b604fd5c0a
1 changed files with 1 additions and 1 deletions

View File

@ -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