From 859e1660c2bd970b8405556f9cadb1862483e79a Mon Sep 17 00:00:00 2001 From: Michael Pande Date: Thu, 14 Mar 2024 16:29:20 +0100 Subject: [PATCH] Fixed weight issue --- .../src/lib/components/Checkbox/Checkbox.module.scss | 3 +-- libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.tsx | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.module.scss b/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.module.scss index e23dce5e..e36bb640 100644 --- a/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.module.scss +++ b/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.module.scss @@ -41,12 +41,11 @@ } .label { - margin-top: 12px; + margin-top: 13px; margin-bottom: 8px; font-family: PxWeb-font-400; letter-spacing: 0em; } .strong { font-family: PxWeb-font-700; - margin-top: 13px; } diff --git a/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.tsx b/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.tsx index 050bb63c..a398856f 100644 --- a/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.tsx +++ b/libs/pxweb2-ui/src/lib/components/Checkbox/Checkbox.tsx @@ -51,9 +51,7 @@ export const Checkbox: React.FC = ({ {value && }
- + {text}
);