From cac1bebc26e029197f14b638a022b0dc1fe88ed6 Mon Sep 17 00:00:00 2001 From: Emil Tayeb Date: Mon, 19 Jun 2023 21:24:29 +0300 Subject: [PATCH 1/2] Change --p-icon-size to 0.65 to make the fix the icon alignment --- packages/ui/src/6-elements/form/_radio-and-checkbox.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/6-elements/form/_radio-and-checkbox.scss b/packages/ui/src/6-elements/form/_radio-and-checkbox.scss index b2db9c3e3a..20709e7c4c 100644 --- a/packages/ui/src/6-elements/form/_radio-and-checkbox.scss +++ b/packages/ui/src/6-elements/form/_radio-and-checkbox.scss @@ -5,7 +5,7 @@ [type="radio"] { $size: pxToRem(20); --p-size: #{$size}; - --p-icon-size: calc(var(--p-size) * 0.85); + --p-icon-size: calc(var(--p-size) * 0.65); /* Theme Light */ --p-icon-color: var(--p-icon-color-default); @@ -129,7 +129,7 @@ content: icons.$icon-check; vertical-align: middle; margin-bottom: calc(var(--p-size) / 8 * -1); - font-size: var(--p-icon-size); + font-size: var(--p-icon-size); } } &:where(:not(:checked)) { From c168d0001887684e35c3367c2dca95e8ee4c4bab Mon Sep 17 00:00:00 2001 From: Emil Tayeb <49617556+Emiltayeb@users.noreply.github.com> Date: Tue, 7 Nov 2023 21:53:48 +0200 Subject: [PATCH 2/2] fixed indent --- packages/ui/src/6-elements/form/_radio-and-checkbox.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/6-elements/form/_radio-and-checkbox.scss b/packages/ui/src/6-elements/form/_radio-and-checkbox.scss index 20709e7c4c..8447a18211 100644 --- a/packages/ui/src/6-elements/form/_radio-and-checkbox.scss +++ b/packages/ui/src/6-elements/form/_radio-and-checkbox.scss @@ -129,7 +129,7 @@ content: icons.$icon-check; vertical-align: middle; margin-bottom: calc(var(--p-size) / 8 * -1); - font-size: var(--p-icon-size); + font-size: var(--p-icon-size); } } &:where(:not(:checked)) { @@ -212,4 +212,4 @@ --p-choice-item-title-color: var(--color-neutral-10); --p-choice-item-text-color: var(--color-neutral-50); } -} \ No newline at end of file +}