Skip to content

Commit a09aa7d

Browse files
balogh.adam@icloud.comclaude
andcommitted
fix merkle root table: shrink all columns to content width and increase cell padding
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3ba6abb commit a09aa7d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

ui/inferences/BatchSettlementTree.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,10 @@ const BatchSettlementTree = ({ walrusBlobId }: Props) => {
389389
<TableRoot size="sm" whiteSpace="nowrap">
390390
<TableHeader>
391391
<TableRow>
392-
{ [ '#', 'TEE ID', 'Input Hash', 'Output Hash', 'Signature', 'Status' ].map((header, i) => (
392+
{ [ '#', 'TEE ID', 'Input Hash', 'Output Hash', 'Signature', 'Status' ].map((header) => (
393393
<TableColumnHeader
394394
key={ header }
395-
px={ 1.5 }
395+
px={ 3 }
396396
py={ 2.5 }
397397
fontSize="11px"
398398
fontWeight={ 600 }
@@ -402,7 +402,7 @@ const BatchSettlementTree = ({ walrusBlobId }: Props) => {
402402
bgColor={{ _light: 'gray.50', _dark: 'whiteAlpha.50' }}
403403
borderBottom="1px solid"
404404
borderColor={{ _light: 'gray.200', _dark: 'whiteAlpha.100' }}
405-
{ ...(i === 0 || i === 5 ? { w: '1px' } : {}) }
405+
w="1px"
406406
>
407407
{ header }
408408
</TableColumnHeader>
@@ -420,42 +420,42 @@ const BatchSettlementTree = ({ walrusBlobId }: Props) => {
420420
_hover={{ bgColor: { _light: 'purple.50/50', _dark: 'purple.900/10' } }}
421421
transition="background 0.15s ease"
422422
>
423-
<TableCell px={ 1.5 } py={ 2.5 } fontSize="xs" fontFamily="mono" color={{ _light: 'gray.400', _dark: 'gray.500' }}>
423+
<TableCell px={ 3 } py={ 2.5 } fontSize="xs" fontFamily="mono" color={{ _light: 'gray.400', _dark: 'gray.500' }}>
424424
{ item.index + 1 }
425425
</TableCell>
426-
<TableCell px={ 1.5 } py={ 2.5 } fontSize="xs" fontFamily="mono">
426+
<TableCell px={ 3 } py={ 2.5 } fontSize="xs" fontFamily="mono">
427427
<Flex alignItems="center" gap={ 1 }>
428428
<Tooltip content={ item.tee_id }>
429429
<Text>{ shortenHash(item.tee_id, 4) }</Text>
430430
</Tooltip>
431431
<CopyToClipboard text={ item.tee_id } boxSize={ 3 }/>
432432
</Flex>
433433
</TableCell>
434-
<TableCell px={ 1.5 } py={ 2.5 } fontSize="xs" fontFamily="mono">
434+
<TableCell px={ 3 } py={ 2.5 } fontSize="xs" fontFamily="mono">
435435
<Flex alignItems="center" gap={ 1 }>
436436
<Tooltip content={ item.input_hash }>
437437
<Text>{ shortenHash(item.input_hash, 4) }</Text>
438438
</Tooltip>
439439
<CopyToClipboard text={ item.input_hash } boxSize={ 3 }/>
440440
</Flex>
441441
</TableCell>
442-
<TableCell px={ 1.5 } py={ 2.5 } fontSize="xs" fontFamily="mono">
442+
<TableCell px={ 3 } py={ 2.5 } fontSize="xs" fontFamily="mono">
443443
<Flex alignItems="center" gap={ 1 }>
444444
<Tooltip content={ item.output_hash }>
445445
<Text>{ shortenHash(item.output_hash, 4) }</Text>
446446
</Tooltip>
447447
<CopyToClipboard text={ item.output_hash } boxSize={ 3 }/>
448448
</Flex>
449449
</TableCell>
450-
<TableCell px={ 1.5 } py={ 2.5 } fontSize="xs" fontFamily="mono">
450+
<TableCell px={ 3 } py={ 2.5 } fontSize="xs" fontFamily="mono">
451451
<Flex alignItems="center" gap={ 1 }>
452452
<Tooltip content={ item.tee_signature }>
453453
<Text>{ shortenHash(item.tee_signature, 4) }</Text>
454454
</Tooltip>
455455
<CopyToClipboard text={ item.tee_signature } boxSize={ 3 }/>
456456
</Flex>
457457
</TableCell>
458-
<TableCell px={ 1.5 } py={ 2.5 }>
458+
<TableCell px={ 3 } py={ 2.5 }>
459459
{ renderVerifyStatus(item.index) }
460460
</TableCell>
461461
</TableRow>

0 commit comments

Comments
 (0)