Skip to content

Commit

Permalink
style: change text color to red in datetime input with invalid schedu…
Browse files Browse the repository at this point in the history
…led time
  • Loading branch information
shuuji3 committed Mar 18, 2024
1 parent 13ad4e0 commit f5cf2d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/publish/PublishWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,12 @@ onDeactivated(() => {
background-color: var(--c-bg-btn-disabled);
color: var(--c-text-btn-disabled);
}
.publish-button[aria-disabled=true]:hover {
background-color: var(--c-bg-btn-disabled);
color: var(--c-text-btn-disabled);
}
.option-input:focus + .delete-button {
display: none;
}
Expand All @@ -591,4 +593,8 @@ onDeactivated(() => {
align-items: center;
border-radius: 50%;
}
input[name="schedule-datetime"]:invalid {
color: var(--c-danger);
}
</style>

0 comments on commit f5cf2d2

Please sign in to comment.