Merge pull request #66 from zcash/design-guide
fix: EnumeratedChip Height fix
This commit is contained in:
commit
1bb2167d5f
|
@ -88,8 +88,13 @@ struct EnumeratedChip_Previews: PreviewProvider {
|
||||||
spacing: 15
|
spacing: 15
|
||||||
) {
|
) {
|
||||||
ForEach(Array(zip(words.indices, words)), id: \.1) { i, word in
|
ForEach(Array(zip(words.indices, words)), id: \.1) { i, word in
|
||||||
EnumeratedChip(index: (i + 1),text: word)
|
EnumeratedChip(index: (i + 1), text: word)
|
||||||
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 50)
|
.frame(
|
||||||
|
minWidth: 0,
|
||||||
|
maxWidth: .infinity,
|
||||||
|
minHeight: 30,
|
||||||
|
idealHeight: 40
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
|
|
Loading…
Reference in New Issue