diff --git a/src/hbs/partials/components/next-section-link.hbs b/src/hbs/partials/components/next-section-link.hbs index 5dc5cf7..22ad3a5 100644 --- a/src/hbs/partials/components/next-section-link.hbs +++ b/src/hbs/partials/components/next-section-link.hbs @@ -1,7 +1,8 @@ - {{ nextSection.text }} + diff --git a/src/styles/components/_next-section-link.scss b/src/styles/components/_next-section-link.scss index 39bf72b..7ca71b6 100644 --- a/src/styles/components/_next-section-link.scss +++ b/src/styles/components/_next-section-link.scss @@ -1,16 +1,19 @@ .next-section-link { - @include hoverDistortion(); - - z-index: 1; display: block; font-family: $base-font-family; font-size: 13px; font-weight: 500; text-transform: uppercase; - @media #{$screen-md} { - &:hover { - @include hoverDistortionActive(); + &__wrapper { + @include hoverDistortion(); + + z-index: 1; + + @media #{$screen-md} { + &:hover { + @include hoverDistortionActive(); + } } } }