Skip to content

Commit

Permalink
Reduce YearPicker height
Browse files Browse the repository at this point in the history
Used estimated covid lockdown duration
  • Loading branch information
eps1lon committed Apr 20, 2021
1 parent f7e46c9 commit 05bff4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/components/date-picker/SubComponentsPickers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 05bff4a

Please sign in to comment.