aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/buttons/back-to-top.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-04-12 16:55:59 +0200
committerArmand Philippot <git@armandphilippot.com>2022-04-12 17:07:12 +0200
commit017d01680a933897df6ddd11d2e081730756250b (patch)
tree487170c0a92efa61f82c2d45c0da2a6dfea0ef5d /src/components/molecules/buttons/back-to-top.tsx
parent4a6f3dbde9adaa671e622215654a1dd9b329610d (diff)
chore: add a Footer component
Diffstat (limited to 'src/components/molecules/buttons/back-to-top.tsx')
-rw-r--r--src/components/molecules/buttons/back-to-top.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/molecules/buttons/back-to-top.tsx b/src/components/molecules/buttons/back-to-top.tsx
index 56c5247..8a52231 100644
--- a/src/components/molecules/buttons/back-to-top.tsx
+++ b/src/components/molecules/buttons/back-to-top.tsx
@@ -30,7 +30,12 @@ const BackToTop: VFC<BackToTopProps> = ({ className = '', target }) => {
return (
<div className={`${styles.wrapper} ${className}`}>
- <ButtonLink shape="square" target={`#${target}`} aria-label={linkName}>
+ <ButtonLink
+ shape="square"
+ target={`#${target}`}
+ aria-label={linkName}
+ className={styles.link}
+ >
<Arrow direction="top" />
</ButtonLink>
</div>