From bd486612754bedefdb022701eafb1dc857c7729f Mon Sep 17 00:00:00 2001 From: JongHoon Date: Thu, 7 Nov 2024 22:26:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B3=B4=ED=8B=80=20=EB=B3=B4=EA=B4=80?= =?UTF-8?q?=ED=95=A8=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=B5=9C=EB=8C=80=20?= =?UTF-8?q?width=20=EA=B0=92=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BottleStorage/BottleStorageView.swift | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/Projects/Feature/BottleStorage/Interface/Sources/BottleStorage/BottleStorageView.swift b/Projects/Feature/BottleStorage/Interface/Sources/BottleStorage/BottleStorageView.swift index 3fcbacdc..365b544c 100644 --- a/Projects/Feature/BottleStorage/Interface/Sources/BottleStorage/BottleStorageView.swift +++ b/Projects/Feature/BottleStorage/Interface/Sources/BottleStorage/BottleStorageView.swift @@ -31,6 +31,7 @@ public struct BottleStorageView: View { } .padding(.top, 72) .frame(maxHeight: .infinity, alignment: .top) + .frame(maxWidth: .infinity) .background(to: ColorToken.background(.primary)) .padding(.bottom, BottleConstants.bottomTabBarHeight.value) .setTabBar(selectedTab: .bottleStorage) { selectedTab in @@ -73,7 +74,6 @@ private extension BottleStorageView { var bottlsList: some View { if store.pingPongBottleList.isEmpty && !store.isLoading { VStack(alignment: .center, spacing: 0.0) { - Spacer() BottleImageView(type: .local(bottleImageSystem: .illustraition(.basket))) .frame(height: 180) @@ -81,26 +81,25 @@ private extension BottleStorageView { .aspectRatio(1.0, contentMode: .fit) .padding(.bottom, .xl) - WantedSansStyleText( - "아직 대화를 시작하지 않으셨군요!", - style: .subTitle1, - color: .primary - ) - .padding(.bottom, .xs) + WantedSansStyleText( + "아직 대화를 시작하지 않으셨군요!", + style: .subTitle1, + color: .primary + ) + .padding(.bottom, .xs) - WantedSansStyleText( - "마음에 드는 상대를 찾아\n가치관 문답을 시작해 볼까요?", - style: .body, - color: .tertiary - ) - .lineSpacing(5) - .multilineTextAlignment(.center) - .padding(.bottom, .xl) + WantedSansStyleText( + "마음에 드는 상대를 찾아\n가치관 문답을 시작해 볼까요?", + style: .body, + color: .tertiary + ) + .lineSpacing(5) + .multilineTextAlignment(.center) + .padding(.bottom, .xl) SolidButton(title: "모래사장 바로가기", sizeType: .extraSmall, buttonType: .throttle, action: { store.send(.sandBeachButtonDidTapped) }) - Spacer() - } + } } else { ScrollView { VStack(spacing: .md) {