Skip to content

Commit

Permalink
fix: Main page hover animation for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
raipen authored Mar 22, 2024
1 parent dbc6ece commit 0cce01f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion react/src/page/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ const MenuCircle = styled(Link)<{ $disable: boolean }>`
width: ${props => props.$disable ? "calc(50% - 30px)" : "calc(50% - 10px)"};
}
@media (max-width: 900px) {
width: calc(100% - 20px);
width: calc(100% - 30px);
margin: 10px;
&:hover{
width: ${props => props.$disable ? "calc(100% - 30px)" : "calc(100% - 20px)"};
}
}
`;

Expand Down

0 comments on commit 0cce01f

Please sign in to comment.