From 5518d02599261791bb16f57f53c8761c16bbb686 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Tue, 24 Nov 2026 02:23:05 +0000 Subject: [PATCH] fix(ui): size the last table column for the full sort button bleed The sort button is 1rem wider than its cell but shifts left only by the cell padding. The last column now pads by the difference, so no table scrolls sideways. --- frontend/src/styles/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/styles/main.css b/frontend/src/styles/main.css index c1ed164..8f8362c 100644 --- a/frontend/src/styles/main.css +++ b/frontend/src/styles/main.css @@ -135,7 +135,7 @@ html { } } -/* The library's sort button bleeds 0.5rem past its cell, more than the workbench cell padding, so the last column adds a horizontal scrollbar. */ +/* The library sort button is 1rem wider than its cell but shifts left only by the cell padding, so the last column overflows the table. */ [data-slot='table-head']:last-child { - padding-right: 0.5rem; + padding-right: calc(1rem - var(--spacing) * 2); }