diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-14 16:27:14 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-14 16:27:14 +0100 |
| commit | 68d93a6310938f5dda378e9185cdfb0086f90de8 (patch) | |
| tree | 892e161c33fa31f5d7e591aeed74411a7844733b /src/components/Buttons/Buttons.module.scss | |
| parent | 1b34f85f0e3188861c6804666f02b4495cab033c (diff) | |
fix: open toolbar menu without double click
When the main nav was opened, a double click on the search button or
the settings button was necessary to open a new menu. Now, it works as
expected: the main nav is closed and the menu is opened in one click.
Diffstat (limited to 'src/components/Buttons/Buttons.module.scss')
| -rw-r--r-- | src/components/Buttons/Buttons.module.scss | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/Buttons/Buttons.module.scss b/src/components/Buttons/Buttons.module.scss index 2a6daca..0ea9289 100644 --- a/src/components/Buttons/Buttons.module.scss +++ b/src/components/Buttons/Buttons.module.scss @@ -177,7 +177,7 @@ } .toolbar { - --draw-border-thickness: #{fun.convert-px(5)}; + --draw-border-thickness: #{fun.convert-px(4)}; --icon-size: 100%; display: flex; @@ -198,15 +198,11 @@ @extend %draw-borders; } - /* @include mix.media("screen") { + @include mix.media("screen") { @include mix.dimensions("md") { - &:hover, - &:focus { - transform: rotate(360deg); - transition: all 0.8s ease-in-out 0s; - } + border-radius: 8%; } - } */ + } } .icon { |
