Skip to content

Commit

Permalink
fix(clay-css): Add border-spacing, border-collapse not working in IE
Browse files Browse the repository at this point in the history
fix(clay-css): Table removes table-responsive hack related to border-collapse
  • Loading branch information
mateomustapic authored and pat270 committed Feb 27, 2020
1 parent 2443bb1 commit 9d12922
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions packages/clay-css/src/scss/components/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ th {
}

.table {
border-collapse: collapse;
border-spacing: 0;
font-size: $table-font-size;
margin-bottom: $table-margin-bottom;

Expand Down Expand Up @@ -836,19 +836,6 @@ th {
}
}

// Table Responsive

.table-responsive {
@each $breakpoint in map-keys($grid-breakpoints) {
$next: breakpoint-next($breakpoint, $grid-breakpoints);
$infix: breakpoint-infix($next, $grid-breakpoints);

&#{$infix} {
margin-bottom: $table-responsive-margin-bottom;
}
}
}

// Table Utilities

.table {
Expand Down

0 comments on commit 9d12922

Please sign in to comment.