Fix next-section-link hover bug
This commit is contained in:
parent
5a65e3c3bc
commit
6ec496bef3
|
@ -1,7 +1,8 @@
|
|||
<a
|
||||
href="{{ nextSection.link }}"
|
||||
data-title="{{ nextSection.text }}"
|
||||
class="next-section-link {{class}}"
|
||||
>
|
||||
{{ nextSection.text }}
|
||||
<div class="next-section-link__wrapper" data-title="{{ nextSection.text }}">
|
||||
{{ nextSection.text }}
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue