Skip to content

Commit 165bfdc

Browse files
refactor(web): update-favorite-cases-style
1 parent f5e6562 commit 165bfdc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/components/CaseStarButton.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const CaseStarButton: React.FC<{ id: string }> = ({ id }) => {
3939
const starred = useMemo(() => Boolean(starredCases.has(id)), [id, starredCases]);
4040
const text = starred ? "Remove from favorite" : "Add to favorite";
4141
return (
42-
<Tooltip {...{ text }} place={isDesktop ? "top" : "bottom"}>
42+
<Tooltip {...{ text }} place={isDesktop ? "right" : "bottom"}>
4343
<StyledButton
4444
Icon={Star}
4545
text=""

web/src/components/FavoriteCases.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Container = styled.div`
1818
`;
1919

2020
const Title = styled.h1`
21-
margin-bottom: 12px;
21+
margin-bottom: 4px;
2222
`;
2323

2424
const DisputeContainer = styled.div`
@@ -33,7 +33,7 @@ const StyledLabel = styled.label`
3333
display: block;
3434
color: ${({ theme }) => theme.primaryBlue};
3535
cursor: pointer;
36-
margin-bottom: ${responsiveSize(16, 32)};
36+
margin-bottom: ${responsiveSize(12, 16)};
3737
:hover {
3838
color: ${({ theme }) => theme.secondaryBlue};
3939
}

0 commit comments

Comments
 (0)