fix(viewer): use ghost span in grid stack to enforce column name width

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Mikhail Chusavitin
2026-06-19 14:51:15 +03:00
parent fa8789a589
commit a8116e78f5
2 changed files with 28 additions and 3 deletions

View File

@@ -339,9 +339,24 @@ body {
color: var(--muted);
}
.col-filter-wrap {
display: grid;
}
.col-filter-wrap > * {
grid-area: 1 / 1;
}
.col-filter-ghost {
visibility: hidden;
white-space: nowrap;
font: inherit;
pointer-events: none;
padding: 2px 4px;
}
.col-filter-text {
width: 100%;
min-width: 40px;
border: 1px solid transparent;
border-radius: 3px;
padding: 2px 4px;