Skip to content

Commit 7465db0

Browse files
committed
chore: switch hover effect in appeal's option card
1 parent 985e6eb commit 7465db0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web/src/pages/Cases/CaseDetails/Appeal/OptionCard.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import React, { useMemo } from "react";
22
import styled from "styled-components";
33

4+
import { hoverShortTransitionTiming } from "styles/commonStyles";
5+
46
import { useMeasure } from "react-use";
57
import { formatEther } from "viem";
68

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

1315
const StyledCard = styled(Card)`
16+
${hoverShortTransitionTiming}
1417
width: 100%;
1518
padding: 24px;
19+
1620
&:hover {
21+
background-color: ${({ theme }) => theme.lightGrey}BB;
1722
cursor: pointer;
23+
box-shadow: none;
1824
}
1925
`;
2026

0 commit comments

Comments
 (0)