summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/forms/fieldset.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-06-08 19:06:27 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-09 12:34:03 +0200
commitcfdddac43f10d06a8b0e9bcf69dc0ce77ce16649 (patch)
treee3fe4d20291ddbfb0a0a2a17b5cb66107ed735e1 /src/components/molecules/forms/fieldset.module.scss
parent58cb40f031f395ca9efccff674ba0f2dae723f50 (diff)
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.
Diffstat (limited to 'src/components/molecules/forms/fieldset.module.scss')
-rw-r--r--src/components/molecules/forms/fieldset.module.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/molecules/forms/fieldset.module.scss b/src/components/molecules/forms/fieldset.module.scss
index 3102bf7..38327b4 100644
--- a/src/components/molecules/forms/fieldset.module.scss
+++ b/src/components/molecules/forms/fieldset.module.scss
@@ -5,12 +5,12 @@
font-weight: 600;
&#{&}--has-tooltip {
- padding: 0 var(--spacing-xs) 0 0;
+ margin: 0 var(--spacing-2xs) 0 0;
}
}
.btn {
- margin: 0 var(--spacing-2xs) var(--spacing-2xs) 0;
+ margin: 0 var(--spacing-xs) var(--spacing-2xs) 0;
&--activated {
background: var(--color-primary);