Skip to content

Commit

Permalink
improve #274
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Feb 22, 2016
1 parent ecf744c commit 8d8553b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions css/react-bootstrap-table-all.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@
right: 0;
top: -21px;
}

.react-bs-table-no-data {
text-align: center;
}

/*error tip style*/
.animated {
animation-fill-mode: both;
Expand Down
5 changes: 5 additions & 0 deletions css/react-bootstrap-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
right: 0;
top: -21px;
}

.react-bs-table-no-data {
text-align: center;
}

/*error tip style*/
.animated {
animation-fill-mode: both;
Expand Down
1 change: 0 additions & 1 deletion src/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ class TableBody extends React.Component{
tableRows.push(
<TableRow key="##table-empty##">
<td colSpan={this.props.columns.length+(isSelectRowDefined?1:0)}
style={{ textAlign: "center" }}
className="react-bs-table-no-data">
{this.props.noDataText||Const.NO_DATA_TEXT}
</td>
Expand Down

0 comments on commit 8d8553b

Please sign in to comment.