mirror of https://github.com/acid-info/lsd.git
fix: error state now supported in non webkit browsers
This commit is contained in:
parent
e37221761d
commit
d78958b9f8
|
@ -131,4 +131,11 @@ export const DateFieldStyles = css`
|
||||||
.${dateFieldClasses.input}::-webkit-datetime-edit-day-field {
|
.${dateFieldClasses.input}::-webkit-datetime-edit-day-field {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If browser does not support ::-webkit-datetime pseudo elements, use the following. */
|
||||||
|
@supports not selector(::-webkit-datetime-edit-day-field) {
|
||||||
|
.${dateFieldClasses.error} .${dateFieldClasses.input} {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue