File tree Expand file tree Collapse file tree 5 files changed +4
-43
lines changed Expand file tree Collapse file tree 5 files changed +4
-43
lines changed Original file line number Diff line number Diff line change 1212}
1313
1414.sidebar-item-group {
15+ visibility : hidden;
1516 height : 0 ;
1617 opacity : 0 ;
1718}
1819
1920.sidebar-item-group-expanded {
21+ visibility : visible;
2022 height : unset;
2123 opacity : 1 ;
2224}
5759}
5860
5961.sidebar-item : not (.sidebar-item-file ) > button {
60- margin-bottom : 16 px ;
62+ margin-bottom : 0 px ;
6163}
6264
6365.sidebar-item svg {
7274.sidebar-item .chevron .rotate {
7375 transform : rotate (-90deg );
7476}
75-
76- .sidebar-item-file : not (: last-child ), .sidebar-item-file : first-child {
77- margin-bottom : 16px ;
78- }
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ export const SidebarItem: FC<SidebarItemProps> = ({
8787 < Chevron className = { classnames ( 'chevron' , { rotate : ! isOpen } ) } />
8888 // <img src={chevron} className={classnames('chevron', { rotate: !isOpen })} />
8989 ) ;
90+
9091 const onToggleExpanded = ( e : React . MouseEvent ) => {
9192 e . preventDefault ( ) ;
9293 setIsExpanded ( previous =>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11export * from './Sidebar' ;
22export * from './SidebarItem' ;
3- export * from './SidebarItemsFromData' ;
You can’t perform that action at this time.
0 commit comments