From cfdddac43f10d06a8b0e9bcf69dc0ce77ce16649 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 8 Jun 2022 19:06:27 +0200 Subject: fix(settings): avoid cropped tooltip on small devices I changed the settings disposition to make tooltip positioning easier. Jest complains about ref passed but everything seems to work as expected so I'm not sure it is relevant. Maybe a bug with cloneElement. --- src/components/molecules/forms/radio-group.module.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/molecules/forms/radio-group.module.scss') diff --git a/src/components/molecules/forms/radio-group.module.scss b/src/components/molecules/forms/radio-group.module.scss index 0bd34b9..f363d1b 100644 --- a/src/components/molecules/forms/radio-group.module.scss +++ b/src/components/molecules/forms/radio-group.module.scss @@ -2,9 +2,9 @@ @use "@styles/abstracts/mixins" as mix; .wrapper { - &--inline#{&}--regular { - .option:first-of-type { - margin-left: var(--spacing-2xs); + &--inline { + .legend { + margin-right: var(--spacing-2xs); } } -- cgit v1.2.3