mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
fix tables in dark mode
This commit is contained in:
parent
86acb6c24e
commit
904b826047
1 changed files with 4 additions and 4 deletions
|
@ -104,10 +104,10 @@ html[data-theme="light"] {
|
||||||
--close-button-hover-bg: #666666;
|
--close-button-hover-bg: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix dark mode bug
|
// Dark mode django (bug due to scss cascade) and USWDS tables
|
||||||
// The structure of our CSS messes with the cascade and causes some body copy in tables
|
body,
|
||||||
//to have light mode colors in dark mode, resulting in a severe contrast issue.
|
.usa-table,
|
||||||
body {
|
.usa-table--striped tbody tr:nth-child(odd) td {
|
||||||
color: var(--body-fg)!important;
|
color: var(--body-fg)!important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue