fix(viewer): use size attribute on input to enforce column min-width
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -76,7 +76,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
input.type = "text";
|
||||
input.className = "col-filter col-filter-text";
|
||||
input.placeholder = colName;
|
||||
th.style.minWidth = `calc(${colName.length}ch + 20px)`;
|
||||
input.size = colName.length + 2;
|
||||
input.setAttribute("aria-label", "filter " + colName);
|
||||
let debounceTimer;
|
||||
input.addEventListener("input", () => {
|
||||
|
||||
Reference in New Issue
Block a user