summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/forms/select-with-tooltip.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-08 22:36:24 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-08 23:31:58 +0200
commit0b3146f7278929c4d1b33dd8f94f34e351e5e5a9 (patch)
tree6a784b197a283a7da07c2e1df80a29fee8b3790a /src/components/molecules/forms/select-with-tooltip.module.scss
parent61278678ea8a8febee0574cd0f6006492d7b15cb (diff)
chore: add a Settings modal component
Diffstat (limited to 'src/components/molecules/forms/select-with-tooltip.module.scss')
-rw-r--r--src/components/molecules/forms/select-with-tooltip.module.scss10
1 files changed, 3 insertions, 7 deletions
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 {