From 4834031663baa71936362318f172b1ca85e2ac78 Mon Sep 17 00:00:00 2001 From: "federico.pini" Date: Fri, 20 Dec 2024 12:08:02 +0100 Subject: [PATCH] fix: centered checkbox text content --- src/components/Checkbox/checkbox.module.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/Checkbox/checkbox.module.css b/src/components/Checkbox/checkbox.module.css index 11dc396a..13e69534 100644 --- a/src/components/Checkbox/checkbox.module.css +++ b/src/components/Checkbox/checkbox.module.css @@ -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;