From 22d5ffa155080037a32a64814002b987bddce3b4 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 13 Feb 2022 16:53:24 +0100 Subject: chore: increase toolbar buttons size On small screen, they was too small I think. I also change some styles like focus state to keep consistency between all elements in toolbar. Also, I was not fan of the rotate effect. --- src/components/Icons/Close/Close.tsx | 4 ++-- src/components/Icons/Hamburger/Hamburger.module.scss | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/components/Icons') diff --git a/src/components/Icons/Close/Close.tsx b/src/components/Icons/Close/Close.tsx index 0e7dab7..12214de 100644 --- a/src/components/Icons/Close/Close.tsx +++ b/src/components/Icons/Close/Close.tsx @@ -9,11 +9,11 @@ const CloseIcon = () => { > ); diff --git a/src/components/Icons/Hamburger/Hamburger.module.scss b/src/components/Icons/Hamburger/Hamburger.module.scss index f38df4e..9965c5e 100644 --- a/src/components/Icons/Hamburger/Hamburger.module.scss +++ b/src/components/Icons/Hamburger/Hamburger.module.scss @@ -2,6 +2,7 @@ .icon { position: relative; + width: 100%; &, &::before, @@ -15,7 +16,6 @@ border: fun.convert-px(1) solid var(--color-primary-darker); border-radius: fun.convert-px(3); display: block; - width: var(--btn-size, fun.convert-px(50)); height: fun.convert-px(7); margin: auto; transition: all 0.25s ease-in-out 0s, transform 0.4s ease-in 0s; @@ -26,6 +26,7 @@ content: ""; position: absolute; left: fun.convert-px(-1); + right: fun.convert-px(-1); } &::before { -- cgit v1.2.3