Skip to content

Commit

Permalink
style: fileList lineHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
namdaeun committed Jan 26, 2025
1 parent 697033b commit a6a7507
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,18 @@ const FileListItem = ({
<div css={containerStyle}>
<Flex styles={{ grow: '0.5', align: 'center', gap: '1.6rem' }}>
{isSelectable && <CheckBox isChecked={isSelected} onChange={onSelect} />}
<Text tag="body6">{name}</Text>
<Text tag="body6" css={{ lineHeight: '1.6rem' }}>
{name}
</Text>
</Flex>

<div css={rightSideRowStyle}>
<Text tag="body6">{getFileVolume(capacity ?? 0)}</Text>
<Text tag="body6">{url?.split('.').at(-1)}</Text>
<Text tag="body6" css={{ lineHeight: '1.6rem' }}>
{getFileVolume(capacity ?? 0)}
</Text>
<Text tag="body6" css={{ lineHeight: '1.6rem' }}>
{url?.split('.').at(-1)}
</Text>
<time css={timeStyle} dateTime={createdTime}>
{getFormattedDate(createdTime ?? new Date().toISOString())}
</time>
Expand Down

0 comments on commit a6a7507

Please sign in to comment.