Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix(Table): responsive class not applied correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthomp committed Jun 2, 2018
1 parent cc80d68 commit 090fd64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Table/Table.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.Table.table-responsive {
.table-responsive {
overflow-x: inherit !important;
}
6 changes: 1 addition & 5 deletions src/components/Table/Table.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,7 @@ function Table({
</table>
);

return !responsive ? (
table
) : (
<div className="Table.table-responsive">{table}</div>
);
return !responsive ? table : <div className="table-responsive">{table}</div>;
}

Table.defaultProps = {
Expand Down

0 comments on commit 090fd64

Please sign in to comment.