diff --git a/src/styles/ScrollToTop.scss b/src/styles/ScrollToTop.scss index f99d9f4..4d20a39 100644 --- a/src/styles/ScrollToTop.scss +++ b/src/styles/ScrollToTop.scss @@ -17,11 +17,14 @@ &.down { transform: rotate(-180deg); - width: 50px; - height: 50px; - position: fixed; - bottom: 15px; - right: 50%; + + @media screen and (min-width: 768px) { + width: 50px; + height: 50px; + position: fixed; + bottom: 15px; + right: 50%; + } &:hover { animation: pulseDown 1s infinite;