fix: fix outlined not working on date field component

This commit is contained in:
jongomez 2023-10-09 11:52:29 +01:00 committed by Jon
parent db4d10d34d
commit 7a3fd8936e

View File

@ -5,6 +5,15 @@ import { dateFieldClasses } from '../DateField/DateField.classes'
export const DateRangePickerStyles = css`
.${dateRangePickerClasses.root} {
box-sizing: border-box;
/* Remove default outline styles from date fields. */
.${dateFieldClasses.outlined} {
border: none;
}
.${dateFieldClasses.icon} {
padding: 8px;
}
}
.${dateRangePickerClasses.label} {
@ -131,15 +140,6 @@ export const DateRangePickerStyles = css`
}
}
.${dateFieldClasses.icon} {
padding: 8px;
}
/* Remove default outline styles from date fields. */
.${dateFieldClasses.outlined} {
border: none;
}
.${dateRangePickerClasses.separator} {
margin-left: 3px;
width: 1px;