Visitar URL original
Removed white background from borderless table, removed th inheritenc… · uswds/uswds@e4934e8 · GitHub
Skip to content

Commit e4934e8

Browse files
committed
Removed white background from borderless table, removed th inheritence on stacked table.
1 parent f9279a3 commit e4934e8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • packages/uswds-core/src/styles/mixins/general

‎packages/uswds-core/src/styles/mixins/general/table.scss‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ $table-unsorted-icon-color: get-color-token-from-bg(
160160
border-top-width: 0;
161161
}
162162
&:nth-child(odd) {
163-
td,
164-
th {
163+
td
164+
{
165165
background-color: inherit;
166166
}
167167
}
@@ -327,7 +327,6 @@ $table-unsorted-icon-color: get-color-token-from-bg(
327327
tbody th,
328328
th,
329329
td {
330-
background-color: #fff;
331330
border-left: 0;
332331
border-right: 0;
333332
}

0 commit comments

Comments
 (0)