From bf1df96dcdbdf15905a8db2d61716466c838cfd8 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 3 May 2021 11:32:03 +0200 Subject: [PATCH] more responsive menu header --- .../components/header/header.component.html | 56 +++++++++---------- .../components/header/header.component.scss | 18 ++---- .../core/components/home/home.component.html | 38 ++++++++----- .../core/components/home/home.component.ts | 7 ++- .../navigation/navigation.component.html | 21 ++----- src/app/core/services/api.service.ts | 6 ++ src/app/core/services/language.service.ts | 2 + .../language-selector.component.html | 4 +- .../language-selector.component.ts | 17 +++++- src/environments/environment.ts | 4 +- src/styles/partials/_navigation.scss | 3 - 11 files changed, 94 insertions(+), 82 deletions(-) diff --git a/src/app/core/components/header/header.component.html b/src/app/core/components/header/header.component.html index eaaf2b93..46ecc29d 100644 --- a/src/app/core/components/header/header.component.html +++ b/src/app/core/components/header/header.component.html @@ -3,53 +3,53 @@ + + - - +
+
diff --git a/src/app/core/components/header/header.component.scss b/src/app/core/components/header/header.component.scss index d204fe06..eb51697c 100644 --- a/src/app/core/components/header/header.component.scss +++ b/src/app/core/components/header/header.component.scss @@ -1,17 +1,9 @@ :host { - header { - nav { - padding-right: 1em; - .fa { - margin-right: 1ch; - } - } - .container { - padding: 0; - } + .demo { + margin: 1em; } - .app-logo { - max-width: 5em; - max-height: 5em; + .burger-button-menu-custom { + width: 4em; + text-align: center; } } diff --git a/src/app/core/components/home/home.component.html b/src/app/core/components/home/home.component.html index 2b49ed5f..d43f33d8 100644 --- a/src/app/core/components/home/home.component.html +++ b/src/app/core/components/home/home.component.html @@ -23,24 +23,32 @@

{{ 'home.search_title' | translate }}

+ -
- +