Skip to content

Commit

Permalink
Add "no-visual-testing" to example date string (#2575)
Browse files Browse the repository at this point in the history
  • Loading branch information
paal2707 authored Oct 14, 2024
1 parent b5c8e4f commit 6ec9b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/layout/Datepicker/DatePickerInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ export const DatePickerInput = forwardRef(
color='first'
size='small'
>
<CalendarIcon
//style={{ width: 'px', height: '24px' }}
title={langAsString('date_picker.aria_label_icon')}
/>
<CalendarIcon title={langAsString('date_picker.aria_label_icon')} />
</Button>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/layout/Datepicker/DatepickerComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function DatepickerComponent({ node }: IDatepickerProps) {
/>,
)}
</Grid>
<span className={styles.formatText}>
<span className={`${styles.formatText} no-visual-testing`}>
{langAsString('date_picker.format_text', [formatDate(new Date(), dateFormat, { locale: currentLocale })])}
</span>
</div>
Expand Down

0 comments on commit 6ec9b42

Please sign in to comment.