Skip to content

Commit 73d6c30

Browse files
fix(ui): update sidebar hover effect as per review suggestion for consistency
1 parent b646fbc commit 73d6c30

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/ui-components/src/Containers/Sidebar/SidebarItem/index.module.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
text-green-600
2929
dark:text-green-400;
3030
}
31+
32+
.progressionIcon {
33+
@apply fill-green-200
34+
dark:fill-green-300;
35+
}
3136
}
3237

3338
.label {
@@ -59,8 +64,9 @@
5964
@apply p-1;
6065
}
6166

62-
&:not(.active):hover {
63-
@apply bg-neutral-100
67+
&:not(.active):hover .label {
68+
@apply rounded-sm
69+
bg-neutral-100
6470
dark:bg-neutral-900;
6571
}
6672
}

0 commit comments

Comments
 (0)