Skip to content

Commit ba017bb

Browse files
committed
Provider name is a chip
1 parent 3062899 commit ba017bb

1 file changed

Lines changed: 22 additions & 14 deletions

File tree

src/renderer/components/Experiment/Interactive/InteractiveJobCard.tsx

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -290,20 +290,28 @@ export default function InteractiveJobCard({
290290
>
291291
{title}
292292
</Typography>
293-
<Chip variant="soft" color={chipColor} size="sm">
294-
{galleryEntry?.name ||
295-
jobData.template_name ||
296-
typeConfig?.label ||
297-
'\u00A0'}
298-
</Chip>
299-
<Typography
300-
level="body-xs"
301-
color="neutral"
302-
noWrap
303-
title={providerName ?? 'Not specified'}
304-
>
305-
Provider: {providerName ?? 'Not specified'}
306-
</Typography>
293+
<Stack direction="row" spacing={0.75} sx={{ minWidth: 0 }}>
294+
<Chip
295+
variant="soft"
296+
color={chipColor}
297+
size="sm"
298+
sx={{ minWidth: 0, maxWidth: '100%' }}
299+
>
300+
{galleryEntry?.name ||
301+
jobData.template_name ||
302+
typeConfig?.label ||
303+
'\u00A0'}
304+
</Chip>
305+
<Chip
306+
variant="soft"
307+
color="neutral"
308+
size="sm"
309+
sx={{ minWidth: 0, maxWidth: '100%' }}
310+
title={providerName ?? 'Not specified'}
311+
>
312+
{providerName ?? 'Not specified'}
313+
</Chip>
314+
</Stack>
307315
</Stack>
308316
{showDeleteAction && (
309317
<IconButton

0 commit comments

Comments
 (0)