Skip to content

Commit

Permalink
chore: updated sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaakrishna committed Jan 28, 2025
1 parent ccf0fc7 commit 894b722
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions server/ui/src/components/cards/ExecutorsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,28 @@ function ExecutorsContent({ executors }: ExecutorsCardProps) {
</TableCell>
<TableCell component="th" scope="row">
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
<Setting4 size={16} variant="Outline" />
{executor.id}
</Box>
</TableCell>
<TableCell>{executor.addr}</TableCell>
<TableCell>{executor.function_allowlist.length} functions</TableCell>
<TableCell>
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
<Typography noWrap>
{executor.function_allowlist.length} functions
</Typography>
</TableCell><TableCell>
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 0.5 }}>
{Object.entries(executor.labels).map(([key, value]) => (
<Chip
key={key}
label={`${key}: ${value}`}
variant="outlined"
size="small"
sx={{
height: '20px',
'& .MuiChip-label': {
padding: '0 6px',
fontSize: '0.75rem',
},
backgroundColor: 'rgba(51, 132, 252, 0.1)',
color: 'rgb(51, 132, 252)',
borderColor: 'rgba(51, 132, 252, 0.3)',
Expand Down

0 comments on commit 894b722

Please sign in to comment.