table style fixes

This commit is contained in:
Andrew Croce 2018-08-22 11:06:18 -04:00
parent 3406a90539
commit eccd9c98f4

View File

@ -8,6 +8,28 @@
@include panel-margin; @include panel-margin;
min-width: 100%; min-width: 100%;
th, td {
&.table-cell--align-right {
text-align: right;
}
&.table-cell--shrink {
width: 1%;
}
&.table-cell--expand {
width: 100%;
}
&.table-cell--hide-small {
display: none;
@include media($medium-screen) {
display: table-cell;
}
}
}
tbody { tbody {
tr { tr {
th, th,
@ -29,32 +51,12 @@
border-bottom-style: solid; border-bottom-style: solid;
} }
} }
.table-cell--align-right {
text-align: right;
}
.table-cell--shrink {
width: 1%;
}
.table-cell--expand {
width: 100%;
}
.table-cell--hide-small {
display: none;
@include media($medium-screen) {
display: table-cell;
}
}
} }
} }
thead { thead {
tr { tr {
th { th, td {
@include block-list-header; @include block-list-header;
display: table-cell; display: table-cell;
} }