formatting

This commit is contained in:
Connor Yoh 2025-09-11 13:10:33 +01:00
parent d41599dabe
commit c299956a31
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,7 @@ const FileInfoCard: React.FC<FileInfoCardProps> = ({
const { t } = useTranslation();
return (
<Card withBorder p={0} h={`calc(${modalHeight} * 0.38 - 1rem)`} style={{ flex: 1, overflow: 'hidden' }}>
<Card withBorder p={0} h={`calc(${modalHeight} * 0.32 - 1rem)`} style={{ flex: 1, overflow: 'hidden' }}>
<Box bg="gray.4" p="sm" style={{ borderTopLeftRadius: 'var(--mantine-radius-md)', borderTopRightRadius: 'var(--mantine-radius-md)' }}>
<Text size="sm" fw={500} ta="center" c="white">
{t('fileManager.details', 'File Details')}
@ -129,7 +129,6 @@ const FileInfoCard: React.FC<FileInfoCardProps> = ({
toolChain={currentFile.toolHistory}
displayStyle="badges"
size="xs"
maxWidth={'180px'}
/>
</Box>
</>

View File

@ -135,7 +135,7 @@ const ToolChain: React.FC<ToolChainProps> = ({
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
maxWidth: `${maxWidth}px`,
maxWidth: `${maxWidth}`,
cursor: isTruncated ? 'help' : 'default'
}}
>