Skip to content

Commit 5c3eba2

Browse files
authored
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.
1 parent 22561d8 commit 5c3eba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/app/view/preview/directorypreview.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
position: sticky;
3232
top: 0;
3333
z-index: 10;
34-
width: 100%;
34+
width: fit-content;
3535
border-bottom: 1px solid var(--border-color);
3636

3737
.dir-table-head-row {

0 commit comments

Comments
 (0)