Skip to content

Commit

Permalink
Merge pull request #17128 from newrelic/tabatha/mobile-homepage
Browse files Browse the repository at this point in the history
ProductTile mobile hover
  • Loading branch information
tabathadelane committed Apr 30, 2024
2 parents 2c1be51 + 3f88458 commit e5a3a0b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Onboarding/OnboardingStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const Card = styled.div`
@media screen and (max-width: 1000px) {
margin-bottom: 24px;
margin-left: 0;
}
`;

Expand Down
11 changes: 11 additions & 0 deletions src/components/ProductTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ const ProductTile = ({ children, icon, title, to }) => {
.dark-mode & {
border: var(--secondary-background-color) solid 1px; // prevent shifting on hover
}
@media screen and (max-width: 1000px) {
&:hover {
transform: none;
height: 100%;
width: 100%;
.text {
display: none;
}
}
}
`}
to={to}
>
Expand Down

0 comments on commit e5a3a0b

Please sign in to comment.