From d84830b5fe4b58710bda41f5b6f285be4605661e Mon Sep 17 00:00:00 2001 From: hryeong66 Date: Thu, 8 Aug 2024 19:20:52 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20memeItemView=20spacing=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#62)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix: memeItemView spacing 수정 (#62) --- .../Core/DesignSystem/Sources/View/Meme/MemeItemView.swift | 6 +++--- Projects/Features/MyPage/Sources/MyPageView.swift | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Projects/Core/DesignSystem/Sources/View/Meme/MemeItemView.swift b/Projects/Core/DesignSystem/Sources/View/Meme/MemeItemView.swift index 2897206..3d3dcd3 100644 --- a/Projects/Core/DesignSystem/Sources/View/Meme/MemeItemView.swift +++ b/Projects/Core/DesignSystem/Sources/View/Meme/MemeItemView.swift @@ -26,13 +26,12 @@ public struct MemeItemView: View { } public var body: some View { - VStack { + VStack(spacing: 10) { MemeItemViewWithButton(memeDetail: memeDetail, memeCopyHandler: memeCopyHandler) .onTapGesture { memeClickHandler?(memeDetail) } MemeItemInfoView(memeName: memeDetail.title, reaction: memeDetail.reaction) - .padding(.top, 10) } } } @@ -119,10 +118,11 @@ struct MemeItemInfoView: View { } Spacer() } + .padding(.horizontal, 4) } var memeReactionView: some View { - HStack { + HStack(spacing: 4) { Text("ㅋㅋ") .font(Font.Family2.xlarge) Text("\(reaction)") diff --git a/Projects/Features/MyPage/Sources/MyPageView.swift b/Projects/Features/MyPage/Sources/MyPageView.swift index 9addeac..998f17d 100644 --- a/Projects/Features/MyPage/Sources/MyPageView.swift +++ b/Projects/Features/MyPage/Sources/MyPageView.swift @@ -44,7 +44,7 @@ public struct MyPageView: View { viewModel.dispatch(type: .onAppearLastMeme) } ) - Spacer(minLength: 80) + Spacer(minLength: 100) } .onAppear { viewModel.dispatch(type: .onAppearMyPageView)