Skip to content

Commit

Permalink
refactor(web): update-favorite-cases-style
Browse files Browse the repository at this point in the history
  • Loading branch information
Harman-singh-waraich committed Dec 17, 2024
1 parent f5e6562 commit 165bfdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/components/CaseStarButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const CaseStarButton: React.FC<{ id: string }> = ({ id }) => {
const starred = useMemo(() => Boolean(starredCases.has(id)), [id, starredCases]);
const text = starred ? "Remove from favorite" : "Add to favorite";
return (
<Tooltip {...{ text }} place={isDesktop ? "top" : "bottom"}>
<Tooltip {...{ text }} place={isDesktop ? "right" : "bottom"}>
<StyledButton
Icon={Star}
text=""
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/FavoriteCases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Container = styled.div`
`;

const Title = styled.h1`
margin-bottom: 12px;
margin-bottom: 4px;
`;

const DisputeContainer = styled.div`
Expand All @@ -33,7 +33,7 @@ const StyledLabel = styled.label`
display: block;
color: ${({ theme }) => theme.primaryBlue};
cursor: pointer;
margin-bottom: ${responsiveSize(16, 32)};
margin-bottom: ${responsiveSize(12, 16)};
:hover {
color: ${({ theme }) => theme.secondaryBlue};
}
Expand Down

0 comments on commit 165bfdc

Please sign in to comment.