don't use focus mixin on mobile

This commit is contained in:
Sean Yesmunt 2020-05-11 10:21:00 -04:00
parent 904dd32df4
commit 90be60c9b0
3 changed files with 12 additions and 6 deletions

View file

@ -5,8 +5,10 @@
font-size: var(--font-small); font-size: var(--font-small);
} }
&:focus { @media (min-width: $breakpoint-small) {
@include focus; &:focus {
@include focus;
}
} }
} }

View file

@ -123,8 +123,10 @@
background-color: var(--color-primary-alt); background-color: var(--color-primary-alt);
} }
&:focus { @media (min-width: $breakpoint-small) {
@include focus; &:focus {
@include focus;
}
} }
span { span {

View file

@ -115,8 +115,10 @@
.button--primary, .button--primary,
.button ~ .button--link { .button ~ .button--link {
&:focus { @media (min-width: $breakpoint-small) {
@include focus; &:focus {
@include focus;
}
} }
} }