새로운 콘텐츠 전체보기 테마영역, 인기 콘텐츠 전체 보기 정렬영역 높이 수정
AS-IS : LazyHStack을 사용해서 화면 전체영역만큼 차지함 TO-BE : HStack으로 변경 - 내용이 얼마 되지 않으므로 성능 차이가 나지 않는다.
This commit is contained in:
		| @@ -19,7 +19,7 @@ struct ContentNewAllView: View { | ||||
|     var body: some View { | ||||
|         NavigationView { | ||||
|             BaseView(isLoading: $viewModel.isLoading) { | ||||
|                 VStack(spacing: 0) { | ||||
|                 VStack(alignment: .leading, spacing: 0) { | ||||
|                     DetailNavigationBar(title: "새로운 콘텐츠") | ||||
|                      | ||||
|                     Text("※ 최근 2주간 등록된 새로운 콘텐츠 입니다.") | ||||
| @@ -53,8 +53,6 @@ struct ContentNewAllView: View { | ||||
|                             .font(.custom(Font.medium.rawValue, size: 13.3)) | ||||
|                             .foregroundColor(Color(hex: "e2e2e2")) | ||||
|                             .padding(.leading, 2) | ||||
|                          | ||||
|                         Spacer() | ||||
|                     } | ||||
|                     .padding(.vertical, 13.3) | ||||
|                     .padding(.horizontal, 20) | ||||
|   | ||||
| @@ -15,7 +15,7 @@ struct ContentMainNewContentThemeView: View { | ||||
|      | ||||
|     var body: some View { | ||||
|         ScrollView(.horizontal, showsIndicators: false) { | ||||
|             LazyHStack(alignment: .top, spacing: 8) { | ||||
|             HStack(spacing: 8) { | ||||
|                 ForEach(0..<themes.count, id: \.self) { index in | ||||
|                     let theme = themes[index] | ||||
|                     Text(theme) | ||||
|   | ||||
| @@ -15,7 +15,7 @@ struct ContentMainRankingSortView: View { | ||||
|      | ||||
|     var body: some View { | ||||
|         ScrollView(.horizontal, showsIndicators: false) { | ||||
|             LazyHStack(alignment: .top, spacing: 8) { | ||||
|             HStack(alignment: .top, spacing: 8) { | ||||
|                 ForEach(0..<sorts.count, id: \.self) { index in | ||||
|                     let sort = sorts[index] | ||||
|                     Text(sort) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung