From efa7da56bc85acf898e7de43b7480348020d3fd2 Mon Sep 17 00:00:00 2001 From: yoosion030 Date: Sun, 16 Jul 2023 23:25:27 +0900 Subject: [PATCH] Update main galleryCard style --- apps/client/src/components/GalleryCard/style.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/client/src/components/GalleryCard/style.ts b/apps/client/src/components/GalleryCard/style.ts index 5cac324f1..5ebed93b1 100644 --- a/apps/client/src/components/GalleryCard/style.ts +++ b/apps/client/src/components/GalleryCard/style.ts @@ -58,12 +58,15 @@ export const Title = styled.h5` color: ${({ theme }) => theme.color.gray['090']}; font-weight: 600; -webkit-line-clamp: 1; + + @media ${({ theme }) => theme.breakPoint['600']} { + ${({ theme }) => theme.typo.h4} + } `; export const ContentPreview = styled.p` ${({ theme }) => theme.typo.body2} color: ${({ theme }) => theme.color.gray['080']}; - height: 2.5rem; font-weight: 400; -webkit-line-clamp: 2;