diff --git a/src/components/control/BackToTop.astro b/src/components/control/BackToTop.astro index 916d042b4..73d6c4420 100644 --- a/src/components/control/BackToTop.astro +++ b/src/components/control/BackToTop.astro @@ -18,6 +18,7 @@ import { Icon } from 'astro-icon/components' position: absolute right: 0 top: 0 + pointer-events: none .back-to-top-btn color: var(--primary) @@ -29,6 +30,7 @@ import { Icon } from 'astro-icon/components' opacity: 1 cursor: pointer transform: translateX(5rem) + pointer-events: auto i font-size: 1.75rem &.hide