From 8a69ffe29edbc37dd913aaf4e37fe3fe5017d0f2 Mon Sep 17 00:00:00 2001 From: Tim Herbst Date: Mon, 28 Dec 2020 10:50:58 +0100 Subject: [PATCH] add fix to solve scrollbar-problem --- .../frontend/src/app/map/map.component.scss | 12 +++--------- projects/project-3/frontend/src/styles.scss | 3 ++- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/projects/project-3/frontend/src/app/map/map.component.scss b/projects/project-3/frontend/src/app/map/map.component.scss index 857c089..3dc307d 100644 --- a/projects/project-3/frontend/src/app/map/map.component.scss +++ b/projects/project-3/frontend/src/app/map/map.component.scss @@ -11,16 +11,10 @@ background: #086ed2; } -.map-container { - height: 95%; -} - -.map-frame { - height: 100%; - width: 100%; +.mat-toolbar { + height: 5vh; } #map { - height: 100%; - width: 100%; + height: 95vh; } diff --git a/projects/project-3/frontend/src/styles.scss b/projects/project-3/frontend/src/styles.scss index d528429..117d188 100644 --- a/projects/project-3/frontend/src/styles.scss +++ b/projects/project-3/frontend/src/styles.scss @@ -1,9 +1,10 @@ html, body { - height: 100%; + height: 100vh; } body { margin: 0; + padding: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }