fix: should clear float, close: #4945

This commit is contained in:
Benjy Cui 2017-02-20 11:31:51 +08:00
parent e85c8a25f6
commit b7519a65c0

View File

@ -879,7 +879,7 @@ export default class Table<T> extends React.Component<TableProps<T>, any> {
? `${prefixCls}-with-pagination` : `${prefixCls}-without-pagination`; ? `${prefixCls}-with-pagination` : `${prefixCls}-without-pagination`;
return ( return (
<div className={className} style={style}> <div className={`${className} clearfix`} style={style}>
<Spin <Spin
spinning={loading} spinning={loading}
className={loading ? `${paginationPatchClass} ${prefixCls}-spin-holder` : ''} className={loading ? `${paginationPatchClass} ${prefixCls}-spin-holder` : ''}