Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-164342-apply on hover only when possible to hover #169

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions edsdme/blocks/pricelist/PricelistBlockStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,11 @@ export const pricelistBlockStyles = css`
font-weight: normal;
margin-bottom: 20px;
}


@media (hover: hover) {
.pagination-wrapper-load-more .load-more-btn:hover {
background-color: ${btnGrayColor};
border: 1px solid ${btnGrayColor};
background-color: ${btnGrayColor};
border: 1px solid ${btnGrayColor};
}
}
`;
13 changes: 7 additions & 6 deletions edsdme/components/PartnerCardsStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -922,12 +922,13 @@ export const partnerCardsLoadMoreStyles = css`
cursor: pointer;
transition: border-color .3s ease-in-out,background-color .3s ease-in-out;
}

.pagination-wrapper-load-more .load-more-btn:hover {
text-decoration: none;
border-color: #222222;
background-color: #222222;
color: #ffffff;
@media (hover: hover) {
.pagination-wrapper-load-more .load-more-btn:hover {
text-decoration: none;
border-color: #222222;
background-color: #222222;
color: #ffffff;
}
}
`;

Expand Down
Loading