mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 09:45:23 +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;
|
||||
}
|
||||
|
||||
// Fix dark mode bug
|
||||
// The structure of our CSS messes with the cascade and causes some body copy in tables
|
||||
//to have light mode colors in dark mode, resulting in a severe contrast issue.
|
||||
body {
|
||||
// Dark mode django (bug due to scss cascade) and USWDS tables
|
||||
body,
|
||||
.usa-table,
|
||||
.usa-table--striped tbody tr:nth-child(odd) td {
|
||||
color: var(--body-fg)!important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue