Revert "Make tabs easier to click"

This reverts commit 2a2af056eb.
This commit is contained in:
William Casarin
2023-04-12 19:49:36 -07:00
parent fc534ea42d
commit 18aafb086e

View File

@@ -37,8 +37,6 @@ struct CustomPicker<SelectionValue: Hashable, Content: View>: View {
text
.padding(EdgeInsets(top: 15, leading: 0, bottom: 10, trailing: 0))
.font(.system(size: 14, weight: .heavy))
.contentShape(Rectangle())
.frame(maxWidth: .infinity)
}
.background(
Group {
@@ -50,6 +48,7 @@ struct CustomPicker<SelectionValue: Hashable, Content: View>: View {
},
alignment: .bottom
)
.frame(maxWidth: .infinity)
.accentColor(tag == selection ? textColor() : .gray)
}
}