From 246e687e455270bc7c28bbdbe3368700a5e4d876 Mon Sep 17 00:00:00 2001 From: librelad Date: Thu, 25 Jun 2026 20:54:42 +0100 Subject: [PATCH] fix(webui/tasks): equalize task-list panel top/bottom padding The last task tile's 10px bottom margin stacked on the list's 16px bottom padding, leaving a larger gap below the last row than above the first. Zero the last tile's bottom margin so the dark panel reads symmetric. Co-Authored-By: Claude Opus 4.8 Signed-off-by: librelad --- .../libreportal/frontend/components/tasks/css/tasks.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/containers/libreportal/frontend/components/tasks/css/tasks.css b/containers/libreportal/frontend/components/tasks/css/tasks.css index a92ebc4..b4bfeb2 100644 --- a/containers/libreportal/frontend/components/tasks/css/tasks.css +++ b/containers/libreportal/frontend/components/tasks/css/tasks.css @@ -272,6 +272,13 @@ box-shadow: inset 0 1px 0 rgba(var(--text-rgb), 0.10); } +/* The last tile's bottom margin would stack on the list's 16px bottom padding, + leaving more gap below the last row than above the first. Drop it so the dark + panel's inner padding reads equal top and bottom. */ +.task-item:last-child { + margin-bottom: 0; +} + .task-header { padding: 4px 16px; display: flex;