From b692791436d4c2d92f1be6c9462805b27ea7167a Mon Sep 17 00:00:00 2001 From: Steve Dogiakos Date: Sat, 11 Apr 2026 10:23:15 -0600 Subject: [PATCH] fix: align account access checkboxes with fixed grid layout Use a 3-column inner grid (checkbox | label | dropdown) with fixed 64px row height for consistent alignment across all account entries. --- public/css/style.css | 18 +++++++++++++----- public/js/app.js | 4 ++-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 0d09950..fdfaf4e 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -869,25 +869,33 @@ input[type="file"] { /* ── User management ── */ .account-checkboxes { display: grid; - grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; margin-top: 4px; } .account-checkbox-label { - display: flex; + display: grid; + grid-template-columns: 20px 1fr auto; align-items: center; - gap: 6px; + gap: 8px; font-size: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; cursor: pointer; - min-height: 34px; + height: 64px; } .account-checkbox-label:hover { border-color: var(--primary); } +.account-checkbox-label input[type="checkbox"] { + justify-self: center; +} +.account-checkbox-label span { + overflow: hidden; + text-overflow: ellipsis; + line-height: 1.3; +} .account-checkbox-label select { - margin-left: auto; flex-shrink: 0; } diff --git a/public/js/app.js b/public/js/app.js index 6742d78..7f76bf3 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -316,8 +316,8 @@ function renderUfAccountCheckboxes() { const acctRole = assignment ? assignment.role : 'viewer'; return `