Commit 4df1bf9
committed
fix(logs): trace view padding, section cutoff, keyboard visibility
- Tree pane now has top padding so the first row has breathing room
under the header strip instead of sitting flush against the border.
- DetailCodeSection dropped its wrapper `overflow-hidden`. Per CSS, a
flex item with `overflow: hidden` resolves `min-height: auto` to `0`,
so when Input and Output were both expanded the flex algorithm
shrank each section below its content, cutting off rows. Without the
clip, sections size to content and the surrounding pane's
`overflow-y-auto` takes over.
- Selected span row now scrolls into view on selection change, so
arrow-key navigation always keeps the active row visible in the
tree pane.1 parent 63fdecc commit 4df1bf9
1 file changed
Lines changed: 13 additions & 2 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/logs/components/log-details/components/trace-view
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
491 | | - | |
| 492 | + | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
| |||
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
| 834 | + | |
833 | 835 | | |
834 | 836 | | |
835 | 837 | | |
| |||
950 | 952 | | |
951 | 953 | | |
952 | 954 | | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
953 | 963 | | |
954 | 964 | | |
955 | 965 | | |
| |||
1023 | 1033 | | |
1024 | 1034 | | |
1025 | 1035 | | |
1026 | | - | |
| 1036 | + | |
| 1037 | + | |
1027 | 1038 | | |
1028 | 1039 | | |
1029 | 1040 | | |
| |||
0 commit comments