Skip to content

Commit 70fca52

Browse files
committed
Fix wrong margin Bottom
1 parent 1992090 commit 70fca52

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/containers/post/RelatedPostsForGuest.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ function RelatedPostsForGuest({
8080
<h4>관심 있을 만한 포스트</h4>
8181
{postsWithAds.map((post, index) => {
8282
return post ? (
83-
<Row
84-
style={{ marginBottom: '-1.5rem' }}
85-
onClick={() => gtag('event', 'recommend_guest_click')}
86-
>
83+
<Row onClick={() => gtag('event', 'recommend_guest_click')}>
8784
<StyledRowLink
8885
to={`/@${post.user.username}/${post.url_slug}`}
8986
key={post.id ?? index}
@@ -111,7 +108,7 @@ function RelatedPostsForGuest({
111108
</StyledRowLink>
112109
</Row>
113110
) : (
114-
<Row>
111+
<Row style={{ marginBottom: '-1.5rem' }}>
115112
<RelatedPostAd isMobile />
116113
</Row>
117114
);

0 commit comments

Comments
 (0)