Skip to content

Commit f2f1552

Browse files
committed
[design] #167 포킷 선택 바텀 시트 디자인 수정
1 parent 5bb5760 commit f2f1552

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Projects/DSKit/Sources/Components/PokitList.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public struct PokitList<Item: PokitSelectItem>: View {
8181

8282
Spacer()
8383
}
84-
.padding(.vertical, 18)
84+
.padding(.vertical, 12)
8585
.padding(.horizontal, 20)
8686
.background {
8787
if isSelected {

Projects/DSKit/Sources/Components/PokitSelect.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ public struct PokitSelect<Item: PokitSelectItem>: View {
5050
}
5151
.onChange(of: selectedItem) { onChangedSeletedItem($0) }
5252
.sheet(isPresented: $showSheet) {
53-
listSheet
54-
.presentationDragIndicator(.visible)
55-
.pokitPresentationCornerRadius()
56-
.presentationDetents([.medium])
57-
.pokitPresentationBackground()
53+
listSheet
54+
.presentationDragIndicator(.visible)
55+
.pokitPresentationCornerRadius()
56+
.presentationDetents([.height(564)])
57+
.pokitPresentationBackground()
5858
}
5959
}
6060

@@ -115,7 +115,7 @@ public struct PokitSelect<Item: PokitSelectItem>: View {
115115
listCellTapped(item)
116116
}
117117
}
118-
.padding(.top, 24)
118+
.padding(.top, 12)
119119
.padding(.bottom, 20)
120120
} else {
121121
PokitLoading()

0 commit comments

Comments
 (0)