File tree 2 files changed +14
-7
lines changed
site/src/components/Resources
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,16 @@ export const AgentMetadata: FC<{
251
251
} , [ agent . id , watchAgentMetadata ] )
252
252
253
253
if ( metadata === undefined ) {
254
- return < CircularProgress size = { 16 } />
254
+ return (
255
+ < div
256
+ style = { {
257
+ marginTop : 16 ,
258
+ marginBottom : 16 ,
259
+ } }
260
+ >
261
+ < CircularProgress size = { 16 } />
262
+ </ div >
263
+ )
255
264
}
256
265
257
266
return < AgentMetadataView metadata = { metadata } />
@@ -264,6 +273,8 @@ const useStyles = makeStyles((theme) => ({
264
273
border : `2px dashed ${ theme . palette . divider } ` ,
265
274
borderRadius : theme . shape . borderRadius ,
266
275
width : "100%" ,
276
+ marginTop : theme . spacing ( 2 ) ,
277
+ marginBottom : theme . spacing ( 2 ) ,
267
278
} ,
268
279
metadataHeader : {
269
280
padding : "8px" ,
Original file line number Diff line number Diff line change @@ -180,11 +180,7 @@ export const AgentRow: FC<AgentRowProps> = ({
180
180
< div className = { styles . agentStatusWrapper } >
181
181
< AgentStatus agent = { agent } />
182
182
</ div >
183
- < Stack
184
- direction = "column"
185
- alignItems = "flex-start"
186
- key = { agent . id }
187
- spacing = { 2 }
183
+ < div
188
184
style = { {
189
185
flex : 1 ,
190
186
} }
@@ -364,7 +360,7 @@ export const AgentRow: FC<AgentRowProps> = ({
364
360
</ Popover >
365
361
</ Stack >
366
362
) }
367
- </ Stack >
363
+ </ div >
368
364
</ Stack >
369
365
{ showStartupLogs && (
370
366
< AutoSizer disableHeight >
You can’t perform that action at this time.
0 commit comments