style(gift): 약관 동의 행 표시를 조정한다
This commit is contained in:
@@ -13,14 +13,13 @@ struct GiftAgreementRow: View {
|
|||||||
HStack(alignment: .top, spacing: SodaSpacing.s8) {
|
HStack(alignment: .top, spacing: SodaSpacing.s8) {
|
||||||
Image(isAgreed ? "btn_select_checked" : "btn_select_normal")
|
Image(isAgreed ? "btn_select_checked" : "btn_select_normal")
|
||||||
.resizable()
|
.resizable()
|
||||||
.frame(width: 20, height: 20)
|
.frame(width: 22, height: 22)
|
||||||
Text(title)
|
Text(title)
|
||||||
.appFont(size: 12, weight: .regular)
|
.appFont(size: 16, weight: .medium)
|
||||||
.foregroundColor(.gray300)
|
.foregroundColor(.white)
|
||||||
.multilineTextAlignment(.leading)
|
.multilineTextAlignment(.leading)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
}
|
}
|
||||||
.frame(minHeight: 44, alignment: .top)
|
|
||||||
.contentShape(Rectangle())
|
.contentShape(Rectangle())
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
@@ -30,9 +29,8 @@ struct GiftAgreementRow: View {
|
|||||||
Link(destination: url) {
|
Link(destination: url) {
|
||||||
Text("(필수)")
|
Text("(필수)")
|
||||||
.underline()
|
.underline()
|
||||||
.appFont(size: 12, weight: .regular)
|
.appFont(size: 16, weight: .medium)
|
||||||
.foregroundColor(.soda400)
|
.foregroundColor(.soda400)
|
||||||
.frame(minHeight: 44, alignment: .top)
|
|
||||||
}
|
}
|
||||||
.accessibilityLabel("필수 약관 보기")
|
.accessibilityLabel("필수 약관 보기")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user