Skip to content

Commit 6726b1e

Browse files
authored
fix: Calendar circular days (adobe#9885)
1 parent 3194ace commit 6726b1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/@react-spectrum/s2/src/Calendar.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ const cellStyles = style({
170170
justifyContent: 'center',
171171
disableTapHighlight: true,
172172
width: '--cell-responsive-size',
173-
aspectRatio: 'square',
174-
height: 'auto'
173+
height: '--cell-responsive-size'
175174
});
176175

177176
const cellInnerStyles = style<CalendarCellRenderProps & {selectionMode: 'single' | 'range'}>({

0 commit comments

Comments
 (0)