From 05bff4ac17d8b8e4c9e4c7e7070649c278867636 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 20 Apr 2021 10:03:19 +0200 Subject: [PATCH] Reduce YearPicker height Used estimated covid lockdown duration --- docs/src/pages/components/date-picker/SubComponentsPickers.js | 4 ++-- .../src/pages/components/date-picker/SubComponentsPickers.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/pages/components/date-picker/SubComponentsPickers.js b/docs/src/pages/components/date-picker/SubComponentsPickers.js index 68a509aca033e2..af4131bb64bcb4 100644 --- a/docs/src/pages/components/date-picker/SubComponentsPickers.js +++ b/docs/src/pages/components/date-picker/SubComponentsPickers.js @@ -7,8 +7,8 @@ import CalendarPicker from '@material-ui/lab/CalendarPicker'; import MonthPicker from '@material-ui/lab/MonthPicker'; import YearPicker from '@material-ui/lab/YearPicker'; -const minDate = new Date('2000-01-01T00:00:00.000'); -const maxDate = new Date('2100-01-01T00:00:00.000'); +const minDate = new Date('2020-01-01T00:00:00.000'); +const maxDate = new Date('2034-01-01T00:00:00.000'); const useYearPickerStyles = makeStyles({ root: { diff --git a/docs/src/pages/components/date-picker/SubComponentsPickers.tsx b/docs/src/pages/components/date-picker/SubComponentsPickers.tsx index 31ce969ab51c07..091d3401a05103 100644 --- a/docs/src/pages/components/date-picker/SubComponentsPickers.tsx +++ b/docs/src/pages/components/date-picker/SubComponentsPickers.tsx @@ -7,8 +7,8 @@ import CalendarPicker from '@material-ui/lab/CalendarPicker'; import MonthPicker from '@material-ui/lab/MonthPicker'; import YearPicker from '@material-ui/lab/YearPicker'; -const minDate = new Date('2000-01-01T00:00:00.000'); -const maxDate = new Date('2100-01-01T00:00:00.000'); +const minDate = new Date('2020-01-01T00:00:00.000'); +const maxDate = new Date('2034-01-01T00:00:00.000'); const useYearPickerStyles = makeStyles({ root: {