From cd75ee22bee5e241624cd200b6e066794faa1634 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Thu, 31 Mar 2022 16:36:14 +0200
Subject: [PATCH] fix(orientation): map height

---
 src/app/app.component.scss                                    | 2 +-
 src/app/form/orientation-form/orientation-form.component.scss | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/app/app.component.scss b/src/app/app.component.scss
index f6a2d3edf..442de430c 100644
--- a/src/app/app.component.scss
+++ b/src/app/app.component.scss
@@ -17,7 +17,7 @@
   overflow-y: auto;
   overflow-x: hidden;
   position: relative;
-  height: calc(var(--vh, 1vh) * 100 - #{$header-height});
+  height: calc(100vh - #{$header-height});
 }
 
 .motif {
diff --git a/src/app/form/orientation-form/orientation-form.component.scss b/src/app/form/orientation-form/orientation-form.component.scss
index 86fa85133..3f4da661c 100644
--- a/src/app/form/orientation-form/orientation-form.component.scss
+++ b/src/app/form/orientation-form/orientation-form.component.scss
@@ -73,7 +73,7 @@
 }
 
 .form-override {
-  height: calc(var(--vh, 1vh) * 100 - $header-height) !important;
+  height: unset !important;
 }
 
 .form-footer {
@@ -154,7 +154,6 @@
 }
 
 .progress-container {
-  margin-top: 1%;
   margin-left: 25.5%;
   width: 50%;
   @media #{$tablet} {
-- 
GitLab