fix: 메인 홈 - 최신 콘텐츠
- 아이템 width: 168 => 160 수정
This commit is contained in:
@@ -21,7 +21,7 @@ struct ContentItemView: View {
|
|||||||
.cancelOnDisappear(true)
|
.cancelOnDisappear(true)
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFill()
|
.scaledToFill()
|
||||||
.frame(width: 168, height: 168, alignment: .top)
|
.frame(width: 160, height: 160, alignment: .top)
|
||||||
.cornerRadius(16)
|
.cornerRadius(16)
|
||||||
|
|
||||||
HStack(alignment: .top, spacing: 0) {
|
HStack(alignment: .top, spacing: 0) {
|
||||||
@@ -52,7 +52,7 @@ struct ContentItemView: View {
|
|||||||
.padding(.horizontal, 6)
|
.padding(.horizontal, 6)
|
||||||
.padding(.top, 4)
|
.padding(.top, 4)
|
||||||
}
|
}
|
||||||
.frame(width: 168)
|
.frame(width: 160)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
if !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
|
if !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
|
||||||
AppState.shared.setAppStep(step: .contentDetail(contentId: item.contentId))
|
AppState.shared.setAppStep(step: .contentDetail(contentId: item.contentId))
|
||||||
|
|||||||
Reference in New Issue
Block a user