diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/app.component.ts | 1 | ||||
-rw-r--r-- | client/src/sass/application.scss | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 494cd9ea6..fc4d6c6a2 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -115,7 +115,6 @@ export class AppComponent implements OnInit { | |||
115 | } | 115 | } |
116 | 116 | ||
117 | toggleMenu () { | 117 | toggleMenu () { |
118 | window.scrollTo(0, 0) | ||
119 | this.isMenuDisplayed = !this.isMenuDisplayed | 118 | this.isMenuDisplayed = !this.isMenuDisplayed |
120 | } | 119 | } |
121 | } | 120 | } |
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 96602dc38..65711a225 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -286,11 +286,9 @@ table { | |||
286 | } | 286 | } |
287 | } | 287 | } |
288 | 288 | ||
289 | // On small screen, menu is absolute | ||
290 | @media screen and (max-width: 600px) { | 289 | @media screen and (max-width: 600px) { |
291 | .menu-wrapper { | 290 | .menu-wrapper { |
292 | width: 100% !important; | 291 | width: 100% !important; |
293 | position: absolute !important; | ||
294 | z-index: 10000; | 292 | z-index: 10000; |
295 | } | 293 | } |
296 | 294 | ||