File tree 2 files changed +39
-18
lines changed
2 files changed +39
-18
lines changed Original file line number Diff line number Diff line change @@ -318,20 +318,22 @@ export const AgentRow: FC<AgentRowProps> = ({
318
318
< img
319
319
src = { logSource . icon }
320
320
alt = ""
321
- width = { 16 }
322
- height = { 16 }
321
+ width = { 14 }
322
+ height = { 14 }
323
323
css = { {
324
324
marginRight : 8 ,
325
+ flexShrink : 0 ,
325
326
} }
326
327
/>
327
328
) ;
328
329
} else {
329
330
icon = (
330
331
< div
331
332
css = { {
332
- width : 16 ,
333
- height : 16 ,
333
+ width : 14 ,
334
+ height : 14 ,
334
335
marginRight : 8 ,
336
+ flexShrink : 0 ,
335
337
background : determineScriptDisplayColor (
336
338
logSource . display_name ,
337
339
) ,
@@ -361,34 +363,36 @@ export const AgentRow: FC<AgentRowProps> = ({
361
363
icon = (
362
364
< div
363
365
css = { {
364
- minWidth : 16 ,
365
- width : 16 ,
366
- height : 16 ,
366
+ width : 14 ,
367
+ height : 14 ,
367
368
marginRight : 8 ,
368
369
display : "flex" ,
369
370
justifyContent : "center" ,
370
371
position : "relative" ,
372
+ flexShrink : 0 ,
371
373
} }
372
374
>
373
375
< div
374
- css = { {
376
+ className = "dashed-line"
377
+ css = { ( theme ) => ( {
375
378
height : nextChangesSource ? "50%" : "100%" ,
376
- width : 4 ,
377
- background : "hsl(222, 31%, 25%)" ,
379
+ width : 2 ,
380
+ background : theme . experimental . l1 . outline ,
378
381
borderRadius : 2 ,
379
- } }
382
+ } ) }
380
383
/>
381
384
{ nextChangesSource && (
382
385
< div
383
- css = { {
384
- height : 4 ,
386
+ className = "dashed-line"
387
+ css = { ( theme ) => ( {
388
+ height : 2 ,
385
389
width : "50%" ,
386
390
top : "calc(50% - 2px)" ,
387
391
left : "calc(50% - 1px)" ,
388
- background : "hsl(222, 31%, 25%)" ,
392
+ background : theme . experimental . l1 . outline ,
389
393
borderRadius : 2 ,
390
394
position : "absolute" ,
391
- } }
395
+ } ) }
392
396
/>
393
397
) }
394
398
</ div >
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ const styles = {
121
121
wordBreak : "break-all" ,
122
122
display : "flex" ,
123
123
alignItems : "center" ,
124
- fontSize : 14 ,
124
+ fontSize : 13 ,
125
125
color : theme . palette . text . primary ,
126
126
fontFamily : MONOSPACE_FONT_FAMILY ,
127
127
height : "auto" ,
@@ -131,14 +131,29 @@ const styles = {
131
131
132
132
"&.error" : {
133
133
backgroundColor : theme . experimental . roles . error . background ,
134
+ color : theme . experimental . roles . error . text ,
135
+
136
+ "& .dashed-line" : {
137
+ backgroundColor : theme . experimental . roles . error . outline ,
138
+ } ,
134
139
} ,
135
140
136
141
"&.debug" : {
137
142
backgroundColor : theme . experimental . roles . info . background ,
143
+ color : theme . experimental . roles . info . text ,
144
+
145
+ "& .dashed-line" : {
146
+ backgroundColor : theme . experimental . roles . info . outline ,
147
+ } ,
138
148
} ,
139
149
140
150
"&.warn" : {
141
151
backgroundColor : theme . experimental . roles . warning . background ,
152
+ color : theme . experimental . roles . warning . text ,
153
+
154
+ "& .dashed-line" : {
155
+ backgroundColor : theme . experimental . roles . warning . outline ,
156
+ } ,
142
157
} ,
143
158
} ) ,
144
159
space : {
@@ -153,8 +168,10 @@ const styles = {
153
168
display : "inline-block" ,
154
169
color : theme . palette . text . secondary ,
155
170
} ) ,
156
- number : {
171
+ number : ( theme ) => ( {
157
172
width : 32 ,
158
173
textAlign : "right" ,
159
- } ,
174
+ flexShrink : 0 ,
175
+ color : theme . palette . text . disabled ,
176
+ } ) ,
160
177
} satisfies Record < string , Interpolation < Theme > > ;
You can’t perform that action at this time.
0 commit comments