From 0b3146f7278929c4d1b33dd8f94f34e351e5e5a9 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 8 Apr 2022 22:36:24 +0200 Subject: chore: add a Settings modal component --- src/components/molecules/forms/select-with-tooltip.module.scss | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/components/molecules/forms/select-with-tooltip.module.scss') diff --git a/src/components/molecules/forms/select-with-tooltip.module.scss b/src/components/molecules/forms/select-with-tooltip.module.scss index 1f91f74..bfadece 100644 --- a/src/components/molecules/forms/select-with-tooltip.module.scss +++ b/src/components/molecules/forms/select-with-tooltip.module.scss @@ -5,14 +5,9 @@ display: flex; flex-flow: row wrap; align-items: center; - gap: var(--spacing-xs); position: relative; } -.label { - margin-right: auto; -} - .select { width: auto; @@ -22,6 +17,8 @@ } .btn { + margin-left: var(--spacing-xs); + &--activated { background: var(--color-primary); @@ -34,8 +31,7 @@ .tooltip { position: absolute; top: calc(100% + var(--spacing-xs)); - right: 0; - transform-origin: top right; + transform-origin: top; transition: all 0.75s ease-in-out 0s; &--hidden { -- cgit v1.2.3