Skip to content

Commit

Permalink
returning class to day-header
Browse files Browse the repository at this point in the history
  • Loading branch information
dpitcock committed Jan 31, 2025
1 parent 9c57e36 commit fe270dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/date-range-picker/calendar/grids/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ export function Grid({
<thead>
<tr>
{calendar.header.map(dayIndex => (
<th key={dayIndex} scope="col" className={clsx(styles['grid-cell'], testutilStyles['day-header'])}>
<th
key={dayIndex}
scope="col"
className={clsx(styles['grid-cell'], styles['day-header'], testutilStyles['day-header'])}
>
<span aria-hidden="true">{renderDayName(locale, dayIndex, 'short')}</span>
<ScreenreaderOnly>{renderDayName(locale, dayIndex, 'long')}</ScreenreaderOnly>
</th>
Expand Down

0 comments on commit fe270dc

Please sign in to comment.