@@ -189,7 +189,7 @@ const sectionContent: Record<string, SectionContent> = {
189
189
},
190
190
data: {
191
191
items: [
192
- { to: ' /models' , icon: ' i-hugeicons-dashboard-speed-02 ' , text: ' General ' },
192
+ { to: ' /models' , icon: ' i-hugeicons-dashboard-browsing ' , text: ' Dashboard ' },
193
193
{ to: ' /models/users' , letter: ' U' , text: ' Users' },
194
194
{ to: ' /models/teams' , letter: ' T' , text: ' Teams' },
195
195
{ to: ' /models/subscribers' , letter: ' S' , text: ' Subscribers' }
@@ -411,11 +411,12 @@ const switchTeam = (team: Team) => {
411
411
<ul
412
412
v-if =" item.children"
413
413
role =" list"
414
- class =" mt-1 space-y-1 overflow-y-auto "
414
+ class =" mt-1 space-y-1 overflow-hidden transition-all duration-300 "
415
415
:class =" {
416
- 'h-0 overflow-hidden': !expandedItems[item.to],
417
- 'h-auto max-h-40': expandedItems[item.to] && item.children.length <= 3,
418
- 'h-auto max-h-[2000px]': expandedItems[item.to] && item.children.length > 3
416
+ 'max-h-0 opacity-0': !expandedItems[item.to],
417
+ 'max-h-40 opacity-100': expandedItems[item.to] && item.children.length <= 3 && item.to !== '#commerce',
418
+ 'commerce-dropdown': expandedItems[item.to] && item.to === '#commerce',
419
+ 'queue-dropdown': expandedItems[item.to] && item.to === '#queue'
419
420
}"
420
421
>
421
422
<li v-for =" child in item.children" :key =" child.to" >
@@ -568,4 +569,12 @@ li[draggable="true"].dragging .drag-handle {
568
569
.no-active div [class ^= " i-hugeicons" ] {
569
570
@apply !text-gray- 400 dark :!text-gray-200;
570
571
}
572
+
573
+ .commerce-dropdown {
574
+ @apply max-h- [800px ] opacity- 100;
575
+ }
576
+
577
+ .queue-dropdown {
578
+ @apply max-h- 40 opacity- 100;
579
+ }
571
580
</style >
0 commit comments