1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 10:22:30 +01:00

fix sidebar action item cursor not matching guild items

This commit is contained in:
Puyodead1 2023-08-13 20:10:03 -04:00
parent 7c32dd53c4
commit 8f808595af
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
2 changed files with 2 additions and 4 deletions

View File

@ -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%;

View File

@ -6,6 +6,7 @@ const GuildSidebarListItem = styled.li`
display: flex;
justify-content: center;
width: 72px;
cursor: pointer;
`;
export default GuildSidebarListItem;