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

Commit 090fd64

Browse files
committed
fix(Table): responsive class not applied correctly
1 parent cc80d68 commit 090fd64

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/components/Table/Table.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
.Table.table-responsive {
1+
.table-responsive {
22
overflow-x: inherit !important;
33
}

src/components/Table/Table.react.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,7 @@ function Table({
9696
</table>
9797
);
9898

99-
return !responsive ? (
100-
table
101-
) : (
102-
<div className="Table.table-responsive">{table}</div>
103-
);
99+
return !responsive ? table : <div className="table-responsive">{table}</div>;
104100
}
105101

106102
Table.defaultProps = {

0 commit comments

Comments
 (0)