Skip to content

Commit

Permalink
Merge pull request #2881 from uswds/dw-borderless-tables
Browse files Browse the repository at this point in the history
Add borderless table styles to mixin passed to prose scope
  • Loading branch information
thisisdano committed Dec 11, 2018
2 parents 5cf4158 + 6a64c2c commit ca8ffc3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/stylesheets/core/mixins/_usa-table-styles.scss
Expand Up @@ -2,4 +2,7 @@
table {
@extend %usa-table;
}
.usa-table-borderless {
@extend %usa-table-borderless;
}
}
14 changes: 9 additions & 5 deletions src/stylesheets/elements/_table.scss
Expand Up @@ -35,11 +35,7 @@
}
}

.usa-table {
@extend %usa-table;
}

.usa-table-borderless {
%usa-table-borderless {
thead {
th {
background-color: transparent;
Expand All @@ -59,3 +55,11 @@
}
}
}

.usa-table {
@extend %usa-table;
}

.usa-table-borderless {
@extend %usa-table-borderless;
}

0 comments on commit ca8ffc3

Please sign in to comment.