You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
This commit is contained in:
@@ -9,3 +9,8 @@ table .selectedCell {
|
||||
th > p:only-child, td > p:only-child {
|
||||
margin: unset;
|
||||
}
|
||||
|
||||
/* Tables used with ProseMirror do not have a thead, so zebra striping needs be styled separately to the global noteStyle css */
|
||||
table tr:nth-child(odd) {
|
||||
background-color: var(--joplin-table-background-color);
|
||||
}
|
||||
@@ -344,7 +344,7 @@ export default function(theme: any, options: Options = null) {
|
||||
}
|
||||
|
||||
.jop-tinymce table tr:nth-child(even),
|
||||
table tr:nth-child(even) {
|
||||
table:has(thead) tr:nth-child(even) {
|
||||
background-color: ${theme.tableBackgroundColor};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user