From ca350ebaf9ddefb44811a1668626e7ac5762e75a Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Thu, 19 Mar 2026 02:11:23 +0800 Subject: [PATCH] fix: use table-layout fixed on mobile to prevent column width inflation Co-Authored-By: Claude --- website/static/style.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/static/style.css b/website/static/style.css index 54947348..33bb382d 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -534,14 +534,16 @@ th[data-sort].sort-asc::after { .hero { padding: 2rem 1.25rem 1rem; } .controls { padding: 0 1.25rem 0.75rem; } + .table { table-layout: fixed; } + .table thead th:first-child, .table tbody td:first-child { padding-left: 0.5rem; } .table thead th:last-child, .table tbody td:last-child { padding-right: 0.5rem; } - .col-num { width: 1.75rem; } - .col-arrow { width: 1.75rem; } + .col-num { width: 2.5rem; } + .col-arrow { width: 2rem; } .col-cat { display: none; } .col-name { white-space: normal; } .footer { padding: 1.25rem; justify-content: center; flex-wrap: wrap; }