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.
This commit is contained in:
Evan Simkowitz 2025-01-07 17:17:28 -08:00 committed by GitHub
parent 22561d847f
commit 5c3eba2644
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 10; z-index: 10;
width: 100%; width: fit-content;
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
.dir-table-head-row { .dir-table-head-row {