Skip to content

Commit

Permalink
fix vertical alignment of validation message and no hover state for l…
Browse files Browse the repository at this point in the history
…abel only checkboxes
  • Loading branch information
sadiqkhoja committed Aug 2, 2024
1 parent 9588836 commit 8382ffa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web-forms/src/components/ValidationMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ withDefaults(defineProps<{message?: string, showMessage: boolean, addPlaceholder
}
.validation-message {
color: var(--error-text-color);
margin-top: 0.5rem;
margin-top: 0.4rem;
display: block;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ defineProps<{ appearances: SelectNodeAppearances}>();
.p-checkbox {
display: none;
}
&:has(.p-checkbox-input:hover),
&:has(.p-radiobutton-input:hover) {
background-color: unset;
outline: none;
Expand Down

0 comments on commit 8382ffa

Please sign in to comment.