From 59230de181241c5a8241084df3260846a4ab6b37 Mon Sep 17 00:00:00 2001 From: Igor Maslov Date: Fri, 7 Aug 2020 13:14:37 +0300 Subject: [PATCH] fix(radio): replace margin-right from box to text margin-left (#1188) --- src/radio/radio.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/radio/radio.css b/src/radio/radio.css index b347bd7e83..854ee6d0bb 100644 --- a/src/radio/radio.css +++ b/src/radio/radio.css @@ -79,7 +79,6 @@ .radio__box { width: var(--size-m-box); height: var(--size-m-box); - margin-right: var(--gap-xs); &:after { width: var(--size-m-box); @@ -87,6 +86,10 @@ } } + .radio__text { + margin-left: var(--gap-xs); + } + &.radio_checked .radio__box { &:before { width: 5px; @@ -101,7 +104,6 @@ .radio__box { width: var(--size-l-box); height: var(--size-l-box); - margin-right: var(--gap-s); &:after { width: var(--size-l-box); @@ -109,6 +111,10 @@ } } + .radio__text { + margin-left: var(--gap-s); + } + &.radio_checked .radio__box { &:before { width: 8px;