Commit 14f6225
committed
improvement(chat): restore sent-attachment filenames and align chip tokens
- Revert the sent-message attachments to main's styling: the icon-only tile
dropped the filename, leaving no way to tell what was sent.
- Radii onto the scale: --radius is 8px, so rounded-[10px] was off-system in
both files. Outer surfaces use rounded-lg, the nested icon badge rounded-md.
- Pill filename uses the named text-xs rather than an arbitrary text-[11px].
- The remove badge is opaque instead of a translucent scrim, so it reads the
same over a light card and over a photo rather than compositing with each.1 parent 2cde5db commit 14f6225
2 files changed
Lines changed: 14 additions & 39 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/home/components
- chat-message-attachments
- user-input/components/attached-files-list
Lines changed: 7 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 5 | + | |
23 | 6 | | |
24 | 7 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
34 | 11 | | |
35 | 12 | | |
36 | 13 | | |
| |||
55 | 32 | | |
56 | 33 | | |
57 | 34 | | |
58 | | - | |
| 35 | + | |
59 | 36 | | |
60 | 37 | | |
61 | 38 | | |
| |||
64 | 41 | | |
65 | 42 | | |
66 | 43 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 44 | + | |
71 | 45 | | |
72 | 46 | | |
73 | 47 | | |
| |||
83 | 57 | | |
84 | 58 | | |
85 | 59 | | |
86 | | - | |
| 60 | + | |
87 | 61 | | |
88 | 62 | | |
89 | 63 | | |
| |||
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
0 commit comments