Skip to content

Commit 322b330

Browse files
committed
PasswordInput: Give show/hide button a 48px touch target size
1 parent 3682bc3 commit 322b330

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/common/PasswordInput.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ const styles = createStyleSheet({
1414
marginLeft: 8,
1515
},
1616
showPasswordButtonIcon: {
17-
margin: 8,
17+
// 24 (icon size) + 12 + 12 = 48px min touch target:
18+
// https://material.io/design/usability/accessibility.html#layout-and-typography
19+
margin: 12,
1820
color: BRAND_COLOR,
1921
},
2022
passwordTextInput: {

0 commit comments

Comments
 (0)