Skip to content

Commit

Permalink
chore: switch hover effect in appeal's option card
Browse files Browse the repository at this point in the history
  • Loading branch information
kemuru committed Dec 15, 2024
1 parent 985e6eb commit 7465db0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/src/pages/Cases/CaseDetails/Appeal/OptionCard.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React, { useMemo } from "react";
import styled from "styled-components";

import { hoverShortTransitionTiming } from "styles/commonStyles";

import { useMeasure } from "react-use";
import { formatEther } from "viem";

Expand All @@ -11,10 +13,14 @@ import Gavel from "svgs/icons/gavel.svg";
import { isUndefined } from "utils/index";

const StyledCard = styled(Card)`
${hoverShortTransitionTiming}
width: 100%;
padding: 24px;
&:hover {
background-color: ${({ theme }) => theme.lightGrey}BB;
cursor: pointer;
box-shadow: none;
}
`;

Expand Down

0 comments on commit 7465db0

Please sign in to comment.