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:
parent
7c32dd53c4
commit
8f808595af
@ -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%;
|
||||
|
@ -6,6 +6,7 @@ const GuildSidebarListItem = styled.li`
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 72px;
|
||||
cursor: pointer;
|
||||
`;
|
||||
|
||||
export default GuildSidebarListItem;
|
||||
|
Loading…
Reference in New Issue
Block a user