Skip to content

Commit

Permalink
fix a wrong global css effect
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Aug 13, 2016
1 parent 0550078 commit 0e2b1f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/customMultiSelect.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
transform: rotate(90deg);
}

.react-bs-table .react-bs-container-body > table > tbody > tr > td:first-child {
.custom-select-body-class > tbody > tr > td:first-child {
padding: 0 !important;
}

.react-bs-table .react-bs-container-header > table > thead > tr > th:first-child {
.custom-select-header-class > thead > tr > th:first-child {
padding: 0 !important;
}
3 changes: 2 additions & 1 deletion examples/js/selection/custom-multi-select-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export default class CustomMultiSelectTable extends React.Component {
customComponent: this.customMultiSelect
};
return (
<BootstrapTable data={ products } selectRow={ selectRowProp }>
<BootstrapTable data={ products } selectRow={ selectRowProp }
tableHeaderClass='custom-select-header-class' tableBodyClass='custom-select-body-class'>
<TableHeaderColumn dataField='id' isKey={ true }>Product ID</TableHeaderColumn>
<TableHeaderColumn dataField='name'>Product Name</TableHeaderColumn>
<TableHeaderColumn dataField='price'>Product Price</TableHeaderColumn>
Expand Down

0 comments on commit 0e2b1f2

Please sign in to comment.