File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,12 @@ export function SidebarLink({
2828 < LinkComponent
2929 href = { href }
3030 onClick = { onClick }
31- className = { `${ styles [ 'sidebar-link' ] } ${ isActive ? 'active' : '' } ` }
31+ className = { `${ styles [ 'sidebar-link' ] } ${ isActive ? 'active' : '' } ${
32+ topLevel ? styles [ 'sidebar-link-top-level' ] : ''
33+ } `}
3234 data-sidebar-link
3335 >
34- < div className = { topLevel ? styles [ 'sidebar-link-top-level' ] : '' } > { title } </ div >
36+ < div > { title } </ div >
3537 { collapsible && < NavChevron direction = { isActive ? 'down' : 'right' } /> }
3638 </ LinkComponent >
3739 ) ;
Original file line number Diff line number Diff line change 118118 text-transform : uppercase ;
119119 letter-spacing : 0.2px ;
120120 color : inherit ;
121-
122121}
123122
124123.sidebar-link {
125124 display : flex ;
126125 align-items : center ;
127126 justify-content : space-between ;
128127 gap : 0.25rem ;
129- margin-bottom : 2px ;
130128
131129 & .active {
132130 background-color : var (--brandDecoration );
133-
134- strong {
135- color : #fff ;
136- }
137131 }
138132}
You can’t perform that action at this time.
0 commit comments