Assorted table and layout fixes

This commit is contained in:
Andrew Croce
2018-07-24 11:01:48 -04:00
parent 0a3c1a00df
commit cac4ab0b72
5 changed files with 75 additions and 37 deletions

View File

@@ -39,5 +39,42 @@ table {
.table-cell--expand {
width: 100%;
}
.table-cell--hide-small {
display: none;
@include media($medium-screen) {
display: table-cell;
}
}
}
@at-root .panel #{&} {
tr:last-child td {
border-bottom: 0;
}
&:last-child {
margin-bottom: 0;
}
}
}
.responsive-table-wrapper {
overflow-x: auto;
@include panel-margin;
table {
margin-bottom: 0;
}
@at-root .panel #{&} {
tr:last-child td {
border-bottom: 0;
}
&:last-child {
margin-bottom: 0;
}
}
}