Skip to content

Commit 50b75b4

Browse files
committed
fix(files): correct a stale reference to the removed inner overflow
The sizing comment still credited `.document-table`'s own `overflow-x-auto` for the horizontal scroll, which the previous commit removed in favour of the caller's container.
1 parent 2068d9a commit 50b75b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/document-table.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
/* A preview table is data, not prose. A CSV can carry dozens of columns, so sizing the table to the
2929
frame (`width: 100%`) divides that frame between them and — with `overflow-wrap: anywhere` able to
3030
break every column down to one character — renders each header a vertical column of letters.
31-
`max-content` sizes columns to their values and lets the table exceed the frame so
32-
`.document-table`'s `overflow-x-auto` scrolls it; `min-width: 100%` keeps a narrow table filling
33-
the frame rather than hugging the left edge. */
31+
`max-content` sizes columns to their values and lets the table exceed the frame, which the
32+
caller's own scroll container then scrolls; `min-width: 100%` keeps a narrow table filling the
33+
frame rather than hugging the left edge. */
3434
.document-table table {
3535
width: max-content;
3636
min-width: 100%;

0 commit comments

Comments
 (0)