Merge pull request #261 from Safelite/feature/CSR-410

Removing hover state from mobile devices for list-card and list-butto…
This commit is contained in:
max-dempsey 2022-02-28 16:15:41 -05:00 committed by GitHub
commit 0be19bebd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -157,9 +157,11 @@ export default {
width: 100%; width: 100%;
color: $gray-600; color: $gray-600;
&:hover { &:hover {
box-shadow: 0 0 0 4px $blue-300; @include media-breakpoint-up(sm) {
cursor: pointer; box-shadow: 0 0 0 4px $blue-300;
z-index: 4 !important; cursor: pointer;
z-index: 4 !important;
}
} }
+ p { + p {
display: none; display: none;

View file

@ -139,8 +139,10 @@ export default {
max-width: 100%; max-width: 100%;
} }
&:hover { &:hover {
box-shadow: 0px 0px 0px 4px $blue-300; @include media-breakpoint-up(sm) {
border: 1px solid transparent; box-shadow: 0px 0px 0px 4px $blue-300;
border: 1px solid transparent;
}
} }
input[type="checkbox"], input[type="checkbox"],
input[type="radio"] { input[type="radio"] {