Skip to content

Commit

Permalink
fix sidebar action item cursor not matching guild items
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Aug 14, 2023
1 parent 7c32dd5 commit 8f80859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/GuildItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ const Wrapper = styled(Container)<{ active?: boolean; hasImage?: boolean }>`
border-radius: ${(props) => (props.active ? "30%" : "50%")};
background-color: ${(props) =>
props.hasImage ? "transparent" : props.active ? "var(--primary)" : "var(--background-secondary)"};
transition:
border-radius 0.2s ease,
background-color 0.2s ease;
cursor: pointer;
transition: border-radius 0.2s ease, background-color 0.2s ease;
&:hover {
border-radius: 30%;
Expand Down
1 change: 1 addition & 0 deletions src/components/GuildSidebarListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const GuildSidebarListItem = styled.li`
display: flex;
justify-content: center;
width: 72px;
cursor: pointer;
`;

export default GuildSidebarListItem;

0 comments on commit 8f80859

Please sign in to comment.