UI 간격 조정

This commit is contained in:
Yu Sung 2025-01-09 06:05:21 +09:00
parent 3a0ca5b945
commit 4a552dabe2
2 changed files with 34 additions and 46 deletions

View File

@ -57,7 +57,7 @@ struct ContentMainView: View {
.strokeBorder(lineWidth: 1)
.foregroundColor(Color.graybb)
)
.padding(.bottom, 26.7)
.padding(.bottom, 40)
.padding(.horizontal, 13.3)
.onTapGesture {
UserDefaults.set("", forKey: .searchChannel)
@ -65,7 +65,7 @@ struct ContentMainView: View {
}
ContentMainCreatorRankingView()
.padding(.bottom, 26.7)
.padding(.bottom, 40)
.padding(.horizontal, 13.3)
ContentMainRecommendSeriesView()

View File

@ -16,14 +16,7 @@ struct SearchChannelView: View {
var body: some View {
BaseView(isLoading: $viewModel.isLoading) {
VStack(spacing: 0) {
HStack(spacing: 0) {
Image("ic_back")
.resizable()
.frame(width: 20, height: 20)
.padding(13.3)
.onTapGesture {
AppState.shared.back()
}
DetailNavigationBar(title: "채널 탐색")
HStack(spacing: 0) {
Image("ic_title_search_black")
@ -57,11 +50,7 @@ struct SearchChannelView: View {
.strokeBorder(lineWidth: 1)
.foregroundColor(Color.graybb)
)
}
.padding(.horizontal, 13.3)
.frame(height: 50)
.background(Color.black)
.padding(.top, 13.3)
ScrollView(.vertical, showsIndicators: false) {
if viewModel.channelResponses.count > 0 {
@ -91,13 +80,12 @@ struct SearchChannelView: View {
Text("검색 결과가 없습니다.")
.font(.custom(Font.medium.rawValue, size: 18.3))
.foregroundColor(.white)
.padding(.top, 40)
.padding(.top, 20)
}
}
.padding(.vertical, 40)
.padding(.horizontal, 26.7)
}
.padding(.vertical, 20)
.padding(.horizontal, 13.3)
}
.popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .top, autohideIn: 2) {
GeometryReader { geo in
HStack {