Skip to content

Commit

Permalink
[FIX] 리스트 위치 수정 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssolfa committed Jan 20, 2024
1 parent 92d30de commit 17c23ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sweety/Sweety/List/ListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ struct ListView: View {
.resizable()
.scaledToFill()
)
.listRowInsets(EdgeInsets(top: 10, leading: 0, bottom: 50, trailing: 0))
.offset(y: 20)
.listRowInsets(EdgeInsets(top: 33, leading: 0, bottom: item.count > 25 ? -10 : 40, trailing: 0))
.offset(y:item.count > 25 ? -20 : 20)
}
.listRowSeparator(.hidden)
}
Expand Down

0 comments on commit 17c23ea

Please sign in to comment.