From b38c8787242027abbdf00f46f6be02a48367a492 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Fri, 19 Jun 2026 14:46:30 +0300 Subject: [PATCH] fix(viewer): set min-width on th cell to prevent column header truncation Co-Authored-By: Claude Sonnet 4.6 --- web/static/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/view.js b/web/static/view.js index bd2d5cd..1616216 100644 --- a/web/static/view.js +++ b/web/static/view.js @@ -76,7 +76,7 @@ document.addEventListener("DOMContentLoaded", () => { input.type = "text"; input.className = "col-filter col-filter-text"; input.placeholder = colName; - input.style.minWidth = `${colName.length + 1}ch`; + th.style.minWidth = `calc(${colName.length}ch + 20px)`; input.setAttribute("aria-label", "filter " + colName); let debounceTimer; input.addEventListener("input", () => {