Skip to content

Commit

Permalink
fix FileCard padding and truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdiehl11 committed Jun 13, 2024
1 parent 257dd10 commit e87087f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/organisms/ChooseRobotSlideout/FileCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function FileCard(props: FileCardProps): JSX.Element {
>
<Flex
height="2.75rem"
padding={`${SPACING.spacing8} ${SPACING.spacing12}`}
padding={SPACING.spacing8}
backgroundColor={error == null ? COLORS.grey20 : COLORS.red30}
borderRadius={BORDERS.borderRadius4}
justifyContent={JUSTIFY_SPACE_BETWEEN}
Expand All @@ -51,7 +51,7 @@ export function FileCard(props: FileCardProps): JSX.Element {
white-space: nowrap;
`}
>
{truncateString(fileRunTimeParameter?.file?.file?.name ?? '', 30, 15)}
{truncateString(fileRunTimeParameter?.file?.file?.name ?? '', 35, 18)}
</StyledText>
<Flex alignItems={ALIGN_CENTER}>
<Btn
Expand Down

0 comments on commit e87087f

Please sign in to comment.