style: change text color to red in datetime input with invalid scheduled time

This commit is contained in:
TAKAHASHI Shuuji 2024-03-04 02:43:23 +09:00
parent dc4ba794f6
commit 2e81f4180b
No known key found for this signature in database
GPG key ID: F15C887632129F5E

View file

@ -639,7 +639,7 @@ function stopQuestionMarkPropagation(e: KeyboardEvent) {
color: var(--c-text-btn-disabled); color: var(--c-text-btn-disabled);
} }
.option-input:focus+.delete-button { .option-input:focus + .delete-button {
display: none; display: none;
} }
@ -653,4 +653,8 @@ function stopQuestionMarkPropagation(e: KeyboardEvent) {
align-items: center; align-items: center;
border-radius: 50%; border-radius: 50%;
} }
input[name="schedule-datetime"]:invalid {
color: var(--c-danger);
}
</style> </style>