mirror of
https://github.com/acid-info/lsd.git
synced 2025-01-12 18:14:25 +00:00
fix: error state now supported in non webkit browsers
This commit is contained in:
parent
fefce98842
commit
7adcfeb5e5
@ -131,4 +131,11 @@ export const DateFieldStyles = css`
|
||||
.${dateFieldClasses.input}::-webkit-datetime-edit-day-field {
|
||||
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…
x
Reference in New Issue
Block a user