@@ -29,7 +29,12 @@ const navExpanded = ref(!isMobile)
29
29
const navExpandedAni = ref (! isMobile)
30
30
31
31
const accounts = ref ([
32
- {' email' : ' user@example.com' , ' boxes' : [' Inbox' , ' Sent' , ' Junk' , ' Trash' ]},
32
+ {' email' : ' user1@example.com' , ' boxes' : [' Inbox' , ' Sent' , ' Junk' , ' Trash' ]},
33
+ {' email' : ' user2@example.com' , ' boxes' : [' Inbox' , ' Sent' , ' Junk' , ' Trash' ]},
34
+ {' email' : ' user3@example.com' , ' boxes' : [' Inbox' , ' Sent' , ' Junk' , ' Trash' , ' Tag1' ]},
35
+ {' email' : ' user4@example.com' , ' boxes' : [' Inbox' , ' Sent' , ' Junk' , ' Trash' , ' Tag1' , ' Tag2' ]},
36
+ {' email' : ' user5@example.com' , ' boxes' : [' Inbox' , ' Sent' , ' Junk' , ' Trash' , ' Tag3' ]},
37
+ {' email' : ' user6@example.com' , ' boxes' : [' Inbox' , ' Sent' , ' Junk' , ' Trash' , ' Tag4' ]},
33
38
])
34
39
35
40
const appHeight = computed (()=> window .innerHeight )
@@ -45,7 +50,7 @@ function toggleNavExpand(){
45
50
setTimeout (()=> {
46
51
navExpanded .value = navExpandedAni .value ;
47
52
toggleNavExpanding = false ;
48
- }, 350 );
53
+ }, 400 );
49
54
}
50
55
51
56
</script >
@@ -80,21 +85,13 @@ function toggleNavExpand(){
80
85
}
81
86
82
87
@keyframes -side-nav-expand {
83
- from {
84
- width : 3.8rem ;
85
- }
86
- to {
87
- width : 15rem ;
88
- }
88
+ from { width : 3.8rem ; }
89
+ to { width : 15rem ; }
89
90
}
90
91
91
92
@keyframes -side-nav-expand-reverse {
92
- from {
93
- width : 15rem ;
94
- }
95
- to {
96
- width : 3.8rem ;
97
- }
93
+ from { width : 15rem ; }
94
+ to { width : 3.8rem ; }
98
95
}
99
96
100
97
@@ -121,6 +118,7 @@ function toggleNavExpand(){
121
118
width : 100% ;
122
119
display : flex ;
123
120
flex-direction : column ;
121
+ overflow-y : auto ;
124
122
}
125
123
126
124
.nav-account {
0 commit comments