From 8cf0b318586d7e56a8871b53efb5ca7166cb00bf Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Tue, 14 Jan 2025 22:52:57 -0800 Subject: [PATCH] Fix dir preview table header width so it still expands to fill whole view (#1737) My last fix to set `width: fit-content` for the dir preview table header ended up meaning that if the widget is wider than the table, the header wouldn't extend to the full width of the widget. Now it will. --- frontend/app/view/preview/directorypreview.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/view/preview/directorypreview.scss b/frontend/app/view/preview/directorypreview.scss index 4119ea200..fd226fffe 100644 --- a/frontend/app/view/preview/directorypreview.scss +++ b/frontend/app/view/preview/directorypreview.scss @@ -31,7 +31,8 @@ position: sticky; top: 0; z-index: 10; - width: fit-content; + width: 100%; + min-width: fit-content; border-bottom: 1px solid var(--border-color); .dir-table-head-row {