Table: fix gutter width, #80, #78

pull/82/head
qingwei.li 2016-09-19 11:41:00 +08:00
parent badf5ae12f
commit ae33771985
1 changed files with 2 additions and 8 deletions

View File

@ -41,14 +41,8 @@ export default {
]
}
</th>
).concat(<th
class="gutter"
style={{
width: (this.$parent.showVScrollBar
? this.$parent.currentGutterWidth
: 0
) + 'px'
}}>&nbsp;</th>)
).concat(this.$parent.showVScrollBar && this.$parent.currentGutterWidth ? <th class="gutter"
style={{ width: this.$parent.currentGutterWidth + 'px' }}></th> : '')
}
</tr>
</thead>