Skip to content

Commit

Permalink
fix :: padding 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HongSJae committed Mar 4, 2023
1 parent 179c328 commit a180542
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions Projects/Features/HomeFeature/Sources/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,19 @@ struct HomeView: View {
}
}

VStack {
Text("오늘의 급식")
.dmsFont(.title(.title1), color: .GrayScale.gray7)
.padding(.top, 16)
Text("오늘의 급식")
.dmsFont(.title(.title1), color: .GrayScale.gray7)
.padding(.top, viewModel.isExistNewNotice ? 16 : 46)

selectDateView()
.padding(.top, 24)
selectDateView()
.padding(.top, 24)

MealCarouselView(
meal: viewModel.selectedDateMeal,
isLoading: $viewModel.isLoading
)
.padding(.top, 36)

MealCarouselView(
meal: viewModel.selectedDateMeal,
isLoading: $viewModel.isLoading
)
.padding(.top, 36)
}
.padding(.top, viewModel.isExistNewNotice ? 0 : 30)
Spacer()
}
}
Expand Down

0 comments on commit a180542

Please sign in to comment.