Skip to content

Commit f39fcad

Browse files
committed
InputRowRadioButtons: Set minHeight: 48, since this is a touch target
1 parent 9318bf3 commit f39fcad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/common/InputRowRadioButtons.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ export default function InputRowRadioButtons<TItemKey: string>(props: Props<TIte
138138
alignItems: 'center',
139139
paddingVertical: 8,
140140
paddingHorizontal: 16,
141+
142+
// Minimum touch target height (and width):
143+
// https://material.io/design/usability/accessibility.html#layout-and-typography
144+
minHeight: 48,
141145
},
142146
textWrapper: {
143147
flex: 1,

0 commit comments

Comments
 (0)