Skip to content

Commit

Permalink
Merge pull request ElemeFE#82 from QingWei-Li/master
Browse files Browse the repository at this point in the history
Table: fix gutter width,  ElemeFE#80, ElemeFE#78
  • Loading branch information
Leopoldthecoder authored Sep 19, 2016
2 parents e69771f + ae33771 commit 158c680
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/table/src/table-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 158c680

Please sign in to comment.