table and list styles

This commit is contained in:
Andrew Croce 2018-07-16 12:31:37 -04:00
parent 37c50be559
commit c1f0aa7d81

View File

@ -3,3 +3,28 @@
* @see https://designsystem.digital.gov/components/tables/ * @see https://designsystem.digital.gov/components/tables/
* @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/elements/_table.scss * @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/elements/_table.scss
*/ */
table {
@include panel-margin;
margin-top: 0;
tr {
th {
@include block-list-header;
}
td {
@include block-list-item;
}
&:last-child {
td {
border-bottom-style: solid;
}
}
.align-right {
text-align: right;
}
}
}