File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 8
8
w-full
9
9
items-center
10
10
overflow-hidden
11
- rounded-md
12
11
text-sm
13
12
text-neutral-800
14
13
dark:text-neutral-200;
15
14
16
- margin-bottom : 1px ;
17
-
18
15
& : hover {
19
16
& : not (.progression ) .label {
20
17
@apply rounded-sm
33
30
34
31
.label {
35
32
@apply font-regular
36
- p-2
37
- text-sm
38
- transition-colors
39
- duration-200
40
- ease-in-out;
33
+ p-2;
41
34
}
42
35
43
36
.progressionIcon {
Original file line number Diff line number Diff line change @@ -34,9 +34,12 @@ const SidebarItem: FC<SidebarItemProps> = ({
34
34
{ showProgressionIcons && (
35
35
< ProgressionIcon className = { styles . progressionIcon } />
36
36
) }
37
- < span className = { styles . label } > { label } </ span >
38
37
39
- { / ^ h t t p s ? : / . test ( link ) && < ArrowUpRightIcon className = { styles . icon } /> }
38
+ < div className = { `${ styles . label } flex items-center gap-1.5` } >
39
+ < span > { label } </ span >
40
+
41
+ { / ^ h t t p s ? : / . test ( link ) && < ArrowUpRightIcon className = { styles . icon } /> }
42
+ </ div >
40
43
</ BaseActiveLink >
41
44
) ;
42
45
You can’t perform that action at this time.
0 commit comments