From 31f0ad9b2290f71ca50dfdbc239baf18899a1ee6 Mon Sep 17 00:00:00 2001 From: developomp Date: Sat, 5 Mar 2022 16:27:41 +0900 Subject: [PATCH] fixed post card padding --- src/components/PostCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PostCard.tsx b/src/components/PostCard.tsx index 551a7c1..53e3bb7 100644 --- a/src/components/PostCard.tsx +++ b/src/components/PostCard.tsx @@ -20,6 +20,7 @@ const PostCardContainer = styled(Link)` display: block; padding: 2rem; text-decoration: none; + padding: 0; color: ${(props) => theming.theme(props.theme.currentTheme, { @@ -48,7 +49,6 @@ const StyledPostCard = styled(MainContent)` })}; ${theming.styles.hoverCard} - padding: 0; ` const StyledTitle = styled.h1`