Skip to content

Build your personal knowledge base with Trilium Notes

style/table collections: tweak checkbox cells

Adorian Dorana7471a3d470b
diff --git a/apps/client/src/stylesheets/table.css b/apps/client/src/stylesheets/table.css
index aa8847dbff..95c3fcc857 100644
--- a/apps/client/src/stylesheets/table.css
+++ b/apps/client/src/stylesheets/table.css
@@ -132,6 +132,21 @@
color: var(--cell-editing-text-color);
}
+/* Checkbox cells */
+
+.tabulator .tabulator-cell:has(svg),
+.tabulator .tabulator-cell:has(input[type="checkbox"]) {
+ padding-left: 8px;
+ display: inline-flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: flex-start;
+}
+
+.tabulator .tabulator-cell input[type="checkbox"] {
+ margin: 0;
+}
+
/* Context menus */
.tabulator-popup-container {