Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: custom background color for table header (#5989)

Aaryan Khandelwal106710f3d0bb
diff --git a/packages/editor/src/styles/table.css b/packages/editor/src/styles/table.css
index 2a0140a2bf..a0fbbe38f8 100644
--- a/packages/editor/src/styles/table.css
+++ b/packages/editor/src/styles/table.css
@@ -27,10 +27,18 @@
}
}
-.table-wrapper table th {
- font-weight: 500;
- text-align: left;
- background-color: rgba(var(--color-background-90));
+.table-wrapper table {
+ th {
+ font-weight: 500;
+ text-align: left;
+ }
+
+ tr[background="none"],
+ tr:not([background]) {
+ th {
+ background-color: rgba(var(--color-background-90));
+ }
+ }
}
.table-wrapper table .selectedCell {