diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-10-31 16:00:45 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:15:27 +0100 |
| commit | 3ff4c37a7a2c40340c17f9e6c1754444bce0f839 (patch) | |
| tree | 551ca3df148d46af2bd27995fa98c01378030644 /src/components/organisms/toolbar/settings.module.scss | |
| parent | 0e52a59917406ad03c174e030c6c1c92ab23449d (diff) | |
refactor(components): rewrite Modal component
* add an optional close button
* add an icon prop
Diffstat (limited to 'src/components/organisms/toolbar/settings.module.scss')
| -rw-r--r-- | src/components/organisms/toolbar/settings.module.scss | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/components/organisms/toolbar/settings.module.scss b/src/components/organisms/toolbar/settings.module.scss index 59c44f8..2c473b7 100644 --- a/src/components/organisms/toolbar/settings.module.scss +++ b/src/components/organisms/toolbar/settings.module.scss @@ -1,5 +1,9 @@ -.item .tooltip { - top: unset; - bottom: calc(100% + var(--spacing-2xs)); - transform-origin: bottom center; +@use "../../../styles/abstracts/mixins" as mix; + +.modal { + @include mix.media("screen") { + @include mix.dimensions(null, "sm") { + border-inline: 0; + } + } } |
