From a7471a3d470be706d23198622d978f0dfab1edd4 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 12 Jul 2025 01:34:22 +0300 Subject: [PATCH] style/table collections: tweak checkbox cells --- apps/client/src/stylesheets/table.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/apps/client/src/stylesheets/table.css b/apps/client/src/stylesheets/table.css index aa8847dbf..95c3fcc85 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 {