diff --git a/source/css/_partial/back-to-top.styl b/source/css/_partial/back-to-top.styl index 593ecfc..49df19e 100644 --- a/source/css/_partial/back-to-top.styl +++ b/source/css/_partial/back-to-top.styl @@ -4,6 +4,7 @@ position: absolute right: 0 top: 0 + pointer-events: none; @media mq-mobile display: none @media mq-tablet @@ -21,6 +22,7 @@ opacity: 1 transition: background trans-style, opacity trans-style, transform trans-style cursor: pointer + pointer-events: auto; transform: translate(80px) i font-size: 24px