Skip to content

Commit

Permalink
[internal][pickers] Remove unused styles
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Apr 28, 2021
1 parent a030b0e commit e59ef80
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions packages/material-ui-lab/src/internal/pickers/Picker/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { ClockPickerView } from '../../../ClockPicker';
import CalendarPicker, { CalendarPickerView } from '../../../CalendarPicker';
import { KeyboardDateInput } from '../KeyboardDateInput';
import { useIsLandscape } from '../hooks/useIsLandscape';
import { DIALOG_WIDTH, VIEW_HEIGHT } from '../constants/dimensions';
import { WrapperVariant, WrapperVariantContext } from '../wrappers/WrapperVariantContext';
import { DateInputPropsLike } from '../wrappers/WrapperProps';
import { PickerSelectionState } from '../hooks/usePickerState';
Expand Down Expand Up @@ -49,7 +48,7 @@ export const MobileKeyboardInputView = styled('div')(
{ name: 'MuiPickersMobileKeyboardInputView' },
);

export type PickerClassKey = 'root' | 'landscape' | 'pickerView';
export type PickerClassKey = 'root' | 'landscape';

export const styles: MuiStyles<PickerClassKey> = {
root: {
Expand All @@ -59,14 +58,6 @@ export const styles: MuiStyles<PickerClassKey> = {
landscape: {
flexDirection: 'row',
},
pickerView: {
overflowX: 'hidden',
width: DIALOG_WIDTH,
maxHeight: VIEW_HEIGHT,
display: 'flex',
flexDirection: 'column',
margin: '0 auto',
},
};

const MobileKeyboardTextFieldProps = { fullWidth: true };
Expand Down

0 comments on commit e59ef80

Please sign in to comment.