Skip to content

Commit

Permalink
design(TemplateCard): 제목과 설명 사이 gap 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Hain-tain committed Oct 24, 2024
1 parent 9b35548 commit 4768e18
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions frontend/src/components/TemplateCard/TemplateCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,21 @@ const TemplateCard = ({ template }: Props) => {
</Flex>

<Link to={END_POINTS.template(template.id)}>
<S.EllipsisTextWrapper>
<Text.XLarge color={theme.color.light.secondary_900} weight='bold'>
{title}
</Text.XLarge>
</S.EllipsisTextWrapper>
<Flex direction='column' gap='0.5rem'>
<S.EllipsisTextWrapper>
<Text.XLarge color={theme.color.light.secondary_900} weight='bold'>
{title}
</Text.XLarge>
</S.EllipsisTextWrapper>

<S.EllipsisTextWrapper>
{description ? (
<Text.Medium color={theme.color.light.secondary_600}>{description}</Text.Medium>
) : (
<S.BlankDescription />
)}
</S.EllipsisTextWrapper>
<S.EllipsisTextWrapper>
{description ? (
<Text.Medium color={theme.color.light.secondary_600}>{description}</Text.Medium>
) : (
<S.BlankDescription />
)}
</S.EllipsisTextWrapper>
</Flex>
</Link>
</Flex>

Expand Down

0 comments on commit 4768e18

Please sign in to comment.