Commit e2ded16
authored
fix(snapshot): stop markdown preview auto-scroll during patch streams + snapshot styling (#4333)
* fix(files): stop markdown preview auto-scrolling during copilot patch streams
fix(snapshot): use surface-4 background for input/output code blocks in light mode
* fix(files): separate auto-scroll gate from streaming render mode in MarkdownPreview1 parent 7b55e60 commit e2ded16
4 files changed
Lines changed: 96 additions & 90 deletions
File tree
- apps/sim
- app/workspace/[workspaceId]
- files/components/file-viewer
- w/components/preview/components/preview-editor
- lib/copilot/generated
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
649 | 652 | | |
650 | 653 | | |
651 | 654 | | |
| 655 | + | |
652 | 656 | | |
653 | 657 | | |
654 | 658 | | |
655 | 659 | | |
| 660 | + | |
656 | 661 | | |
657 | 662 | | |
658 | 663 | | |
659 | | - | |
| 664 | + | |
660 | 665 | | |
661 | 666 | | |
662 | 667 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| 681 | + | |
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1250 | 1250 | | |
1251 | 1251 | | |
1252 | 1252 | | |
1253 | | - | |
| 1253 | + | |
1254 | 1254 | | |
1255 | 1255 | | |
1256 | 1256 | | |
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
| 1323 | + | |
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
| |||
0 commit comments