From 1e216cf40cdc631ec4e9ef0d437d7638fe5d1f93 Mon Sep 17 00:00:00 2001 From: Morten Harders Date: Fri, 6 Nov 2026 10:25:58 +0100 Subject: [PATCH] fix(grid): keep empty-string cells in the table layout The grid marks empty-string cells with the class 'empty', which also matched the placeholder style (display: flex, padding 20px). Those cells left the table layout, making rows tall and misaligned. Scope the placeholder style to div.empty. --- frontend/src/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/style.css b/frontend/src/style.css index dbe54b4..64a4acf 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -123,8 +123,8 @@ input[type='checkbox'] { accent-color: var(--accent); } .pane { flex: 1; min-height: 0; display: flex; flex-direction: column; } .filter-bar { background: var(--dark-background); } .pane-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 10px; border-bottom: 1px solid var(--border); flex: none; } -.empty { flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--dark-foreground); text-align: center; padding: 20px; } -.empty .logo { width: 88px; height: 88px; opacity: 0.9; } +div.empty { flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--dark-foreground); text-align: center; padding: 20px; } +div.empty .logo { width: 88px; height: 88px; opacity: 0.9; } /* ---- grid ---- */ .grid-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }