새로운 콘텐츠 전체보기 테마영역, 인기 콘텐츠 전체 보기 정렬영역 높이 수정

AS-IS : LazyHStack을 사용해서 화면 전체영역만큼 차지함
TO-BE : HStack으로 변경 - 내용이 얼마 되지 않으므로 성능 차이가 나지 않는다.
This commit is contained in:
Yu Sung
2023-12-27 14:45:34 +09:00
parent a66f76f9a6
commit b2a20969b8
3 changed files with 3 additions and 5 deletions

View File

@@ -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)