Skip to content

Commit 54e3f2e

Browse files
authored
fix: Styles on Group example to be more consistent (#9071)
1 parent 95acde1 commit 54e3f2e

File tree

1 file changed

+3
-3
lines changed
  • packages/dev/s2-docs/pages/react-aria

1 file changed

+3
-3
lines changed

packages/dev/s2-docs/pages/react-aria/Group.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ import {Input} from 'react-aria-components';
1818

1919
<InputGroup/* PROPS */>
2020
<Input
21-
size={3}
21+
style={{width: '3ch', boxSizing: 'content-box'}}
2222
maxLength={3}
2323
aria-label="First 3 digits"
2424
placeholder="000" />
2525
2626
<Input
27-
size={2}
27+
style={{width: '2ch', boxSizing: 'content-box'}}
2828
maxLength={2}
2929
aria-label="Middle 2 digits"
3030
placeholder="00" />
3131
3232
<Input
33-
size={4}
33+
style={{width: '4ch', boxSizing: 'content-box'}}
3434
maxLength={4}
3535
aria-label="Last 4 digits"
3636
placeholder="0000" />

0 commit comments

Comments
 (0)