mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
Fix striped table backgrounds within blockquotes
Fixes #659 by defaulting to the primary background color for normal table rows. As noted in the issue, this still looks a bit weird, but it's no longer inconsistent.
This commit is contained in:
@@ -280,6 +280,12 @@ table {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
// Add a default non-transparent background to fix styling in blockquotes
|
||||
tbody tr,
|
||||
thead tr {
|
||||
background-color: var(--background-primary-color);
|
||||
}
|
||||
|
||||
tbody tr:nth-of-type(2n + 1) {
|
||||
background-color: var(--background-secondary-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user