From 5c3eba2644d5578b337ae962e51a7a46a3dbde59 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Tue, 7 Jan 2025 17:17:28 -0800 Subject: [PATCH] Fix directory preview head width (#1691) The head was set to `100%`, which meant that it only was as wide as the viewport, rather than its contents, which can overflow. Now, the width is `fit-content`, which allows it to overflow with its contents so that the background and border extend the full width. --- frontend/app/view/preview/directorypreview.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/view/preview/directorypreview.scss b/frontend/app/view/preview/directorypreview.scss index dc84fb0bf..4119ea200 100644 --- a/frontend/app/view/preview/directorypreview.scss +++ b/frontend/app/view/preview/directorypreview.scss @@ -31,7 +31,7 @@ position: sticky; top: 0; z-index: 10; - width: 100%; + width: fit-content; border-bottom: 1px solid var(--border-color); .dir-table-head-row {