Skip to content

Build your personal knowledge base with Trilium Notes

fix(views/table): expander style affecting row number

Elian Doran9d7455d28ae1
diff --git a/apps/client/src/stylesheets/table.css b/apps/client/src/stylesheets/table.css
index 39698f345d..e55519b9c2 100644
--- a/apps/client/src/stylesheets/table.css
+++ b/apps/client/src/stylesheets/table.css
@@ -153,8 +153,8 @@
}
/* Align items without children/expander to the ones with. */
-.tabulator-cell > span:first-child, /* 1st level */
-.tabulator-cell > div:first-child + span { /* sub-level */
+.tabulator-cell[tabulator-field="title"] > span:first-child, /* 1st level */
+.tabulator-cell[tabulator-field="title"] > div:first-child + span { /* sub-level */
padding-left: 21px;
}