Skip to content

Commit

Permalink
fix: centered checkbox text content
Browse files Browse the repository at this point in the history
  • Loading branch information
federico.pini committed Dec 20, 2024
1 parent e78ba9e commit 4834031
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Checkbox/checkbox.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
gap: var(--spacing-gap-sm, 8px);
}

&:global(.mia-platform-checkbox-wrapper) {
display: flex;
align-items: center;
}

&:not(:global(.mia-platform-checkbox-wrapper-disabled)) {
&:hover :global(.mia-platform-checkbox-inner) {
border-color: var(--palette-action-primary-hover, #1890FF) !important;
Expand Down

0 comments on commit 4834031

Please sign in to comment.