summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/buttons
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-17 18:31:21 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-17 18:31:21 +0200
commit9a186b357b32325cf77fdce39a6c6c9aff76d8a5 (patch)
treebfeb790f3cc82f753ac74c9b0130f43189502803 /src/components/molecules/buttons
parentc77c58e18143233be042c4980a6ed08ae9beac52 (diff)
chore: listen scroll to hide/show back to top button
Diffstat (limited to 'src/components/molecules/buttons')
-rw-r--r--src/components/molecules/buttons/back-to-top.module.scss4
1 files changed, 2 insertions, 2 deletions
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%;