From da4ba8a1bd7ab3432e615e3defd65296b5916505 Mon Sep 17 00:00:00 2001 From: Simon Strandgaard Date: Sun, 5 Apr 2026 19:13:15 +0200 Subject: [PATCH] Fix models page column widths using ch units Use table-layout: fixed with ch units for narrow columns (Prio, Pricing, Info at 8ch each) so they scale with font size. Key, Model, and Comment share remaining space automatically. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend_multi_user/templates/models.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/frontend_multi_user/templates/models.html b/frontend_multi_user/templates/models.html index 93cc5883..949f9897 100644 --- a/frontend_multi_user/templates/models.html +++ b/frontend_multi_user/templates/models.html @@ -93,21 +93,19 @@ border-bottom: none; } .models-col-key { - width: 18%; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } .models-col-prio { - width: 4%; + width: 8ch; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; white-space: nowrap; } .models-col-model { - width: 18%; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } .models-col-pricing { - width: 6%; + width: 8ch; white-space: nowrap; } .pricing-badge { @@ -139,10 +137,9 @@ color: var(--color-text-secondary); } .models-col-comment { - width: 49%; } .models-col-info { - width: 5%; + width: 8ch; white-space: nowrap; } th.models-col-prio,