From 9a186b357b32325cf77fdce39a6c6c9aff76d8a5 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 17 May 2022 18:31:21 +0200 Subject: chore: listen scroll to hide/show back to top button --- src/components/molecules/buttons/back-to-top.module.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/molecules/buttons/back-to-top.module.scss') diff --git a/src/components/molecules/buttons/back-to-top.module.scss b/src/components/molecules/buttons/back-to-top.module.scss index 9721bff..77ee97b 100644 --- a/src/components/molecules/buttons/back-to-top.module.scss +++ b/src/components/molecules/buttons/back-to-top.module.scss @@ -2,8 +2,8 @@ .wrapper { .link { - width: clamp(#{fun.convert-px(44)}, 6vw, #{fun.convert-px(55)}); - height: clamp(#{fun.convert-px(44)}, 6vw, #{fun.convert-px(55)}); + width: clamp(#{fun.convert-px(48)}, 8vw, #{fun.convert-px(55)}); + height: clamp(#{fun.convert-px(48)}, 8vw, #{fun.convert-px(55)}); svg { width: 100%; -- cgit v1.2.3