From 9e75d226ea93c66534fb237c6a5a052bd4a8b5ee Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Mon, 26 Sep 2022 14:06:14 +0200
Subject: [PATCH] fix(structure-edition): fix design

---
 .../structure-edition-summary.component.scss                | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app/profile/structure-edition-summary/structure-edition-summary.component.scss b/src/app/profile/structure-edition-summary/structure-edition-summary.component.scss
index 7819f7267..50f5790ca 100644
--- a/src/app/profile/structure-edition-summary/structure-edition-summary.component.scss
+++ b/src/app/profile/structure-edition-summary/structure-edition-summary.component.scss
@@ -21,9 +21,8 @@
   border: 1px solid $grey-6;
   box-sizing: border-box;
   margin: 1rem auto;
-  padding: 2rem;
   max-width: 980px;
-  height: calc(100% - $header-height - $footer-height);
+  height: calc(100vh - $header-height - $footer-height - 2rem); //2rem are needed because of 1rem margin
   display: flex;
   flex-direction: column;
   justify-content: space-between;
@@ -32,7 +31,7 @@
     height: 90%;
     overflow-y: scroll;
     overflow-x: hidden;
-    padding-right: 5px;
+    padding: 2rem;
 
     p {
       margin: 0;
@@ -171,6 +170,7 @@
       justify-content: center;
       gap: 24px;
       padding-top: 1rem;
+      padding-bottom: 8px;
     }
   }
 }
-- 
GitLab