From 8b844e9ba1595d9fb73c230458467a530359428a Mon Sep 17 00:00:00 2001 From: chsua Date: Tue, 25 Jul 2023 19:58:03 +0900 Subject: [PATCH] =?UTF-8?q?design:=20(#123)=20=EA=B2=8C=EC=8B=9C=EA=B8=80?= =?UTF-8?q?=20=EB=82=B4=20=EC=A0=95=EB=B3=B4(=EC=A0=9C=EB=AA=A9,=20?= =?UTF-8?q?=EC=9E=91=EC=84=B1=EC=9E=90=20=EB=93=B1)=EA=B0=84=20=EA=B0=84?= =?UTF-8?q?=EA=B2=A9=20=EB=84=93=ED=9E=88=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/common/Post/style.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/common/Post/style.ts b/frontend/src/components/common/Post/style.ts index 5f8e4ac85..1ac92d02d 100644 --- a/frontend/src/components/common/Post/style.ts +++ b/frontend/src/components/common/Post/style.ts @@ -5,10 +5,6 @@ import { styled } from 'styled-components'; import { theme } from '@styles/theme'; export const Container = styled.li` - display: flex; - flex-direction: column; - gap: 10px; - font: var(--text-small); letter-spacing: 0.5px; line-height: 1.5; @@ -79,5 +75,9 @@ export const Content = styled.p<{ $isPreview: boolean }>` `; export const DetailLink = styled(Link)<{ $isPreview: boolean }>` + display: flex; + flex-direction: column; + gap: 10px; + pointer-events: ${({ $isPreview }) => !$isPreview && 'none'}; `;