File tree 5 files changed +16
-9
lines changed
5 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ export default class SyTopnav extends Component {
10
10
@tracked expand = false ;
11
11
12
12
get navMobile ( ) {
13
- return this . media . isMo || this . media . isXs || this . media . isSm ;
13
+ return this . media . isMo || this . media . isXs ;
14
14
}
15
15
}
Original file line number Diff line number Diff line change 1
- <nav class =" nav-top nav-top--fixed {{ if this.expand ' nav-top--expand' }} " >
1
+ <nav class =" nav-top nav-top--fixed {{ if ( and this.expand this.navMobile ) ' nav-top--expand' }} " >
2
2
<header class =" nav-top-header" >
3
3
<button
4
4
class =" nav-toggle nav-top-toggle"
21
21
<ul class =" nav-top-list" >
22
22
<li class =" nav-top-list-item" >
23
23
<LinkTo @route =" index" >
24
- <FaIcon @icon =" clock" />
25
- Tracking
24
+ <FaIcon @icon =" clock" @ size = " lg " />
25
+ < span > Tracking</ span >
26
26
</LinkTo >
27
27
</li >
28
28
{{ #unless this.navMobile }}
Original file line number Diff line number Diff line change @@ -2536,12 +2536,12 @@ code {
2536
2536
display : block ;
2537
2537
max-height : 400px ;
2538
2538
overflow-y : auto ;
2539
+ transition : max-height 0.7s ;
2539
2540
}
2540
2541
2541
2542
.nav-top-body {
2542
2543
max-height : 0 ;
2543
2544
overflow : hidden ;
2544
- transition : max-height 1.2s ;
2545
2545
}
2546
2546
2547
2547
.nav-top-list {
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ strong {
355
355
margin-right : 10px ;
356
356
}
357
357
358
- div > i {
358
+ div > i {
359
359
margin-right : 5px ;
360
360
}
361
361
}
@@ -366,8 +366,8 @@ strong {
366
366
border-bottom : 3px double $body-color ;
367
367
}
368
368
369
- .table--absence-types > thead > tr > th ,
370
- .table--absence-types > tbody > tr > td {
369
+ .table--absence-types > thead > tr > th ,
370
+ .table--absence-types > tbody > tr > td {
371
371
.grid {
372
372
margin : 0 ;
373
373
}
Original file line number Diff line number Diff line change 13
13
display : block ;
14
14
}
15
15
16
+ .nav-top-list-item a {
17
+ display : grid ;
18
+ grid-template-columns : 2em 1fr ;
19
+ align-items : center ;
20
+ }
21
+
16
22
@media #{$nav-top-mobile-width } {
17
23
.nav-top-header-title {
18
24
display : block ;
@@ -37,10 +43,11 @@ nav {
37
43
.nav-top-list-item a {
38
44
padding : 0.6rem 0.8rem ;
39
45
border-radius : 0 ;
46
+ display : revert ;
40
47
}
41
48
42
49
.nav-top-toggle {
43
50
display : none ;
44
51
}
45
52
}
46
- }
53
+ }
You can’t perform that action at this time.
0 commit comments