Skip to content

Commit cd1ea68

Browse files
snowystingerLFDanLu
authored andcommitted
fix: S2 docs Skeleton page (#9008)
1 parent 5f6a0e6 commit cd1ea68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/s2-docs/pages/s2/Skeleton.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import Select from '@react-spectrum/s2/icons/Select';
2222
src={preview}
2323
width={1600}
2424
height={1200}
25-
styles={style({height: 160, borderRadius: 'default', flexShrink: 0})} />
25+
styles={style({height: 160, borderRadius: 'default', flexShrink: 0, aspectRatio: '4 / 3'})} />
2626
<div className={style({display: 'flex', flexDirection: 'column', gap: 16})}>
2727
<Text styles={style({font: 'heading-lg'})}>Placeholder title</Text>
2828
<Text styles={style({font: 'body'})}>This is placeholder content approximating the length of the real content to avoid layout shifting when the real content appears.</Text>

0 commit comments

Comments
 (0)