From 3c194434fb6042c6307c93c31831532b1b96eab6 Mon Sep 17 00:00:00 2001
From: Augustin Leconte <ext.sopra.aleconte@grandlyon.com>
Date: Thu, 23 Dec 2021 16:04:08 +0100
Subject: [PATCH 1/2] feat(structure): add pre-wrap to structure description

---
 .../structure-details/structure-details.component.html        | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/app/structure-list/components/structure-details/structure-details.component.html b/src/app/structure-list/components/structure-details/structure-details.component.html
index f4b137831..76164b14e 100644
--- a/src/app/structure-list/components/structure-details/structure-details.component.html
+++ b/src/app/structure-list/components/structure-details/structure-details.component.html
@@ -156,9 +156,7 @@
           Supprimer cette structure
         </a>
       </div>
-      <div>
-        {{ structure.description }}
-      </div>
+      <div class="description">{{ structure.description }}</div>
       <div class="info">
         {{ structure.lockdownActivity }}
       </div>
-- 
GitLab


From 4a5c48b3794b67e7465cc5908393c09a502d76e8 Mon Sep 17 00:00:00 2001
From: Augustin Leconte <ext.sopra.aleconte@grandlyon.com>
Date: Mon, 27 Dec 2021 10:41:49 +0100
Subject: [PATCH 2/2] feat: add description css

---
 .../structure-details/structure-details.component.scss       | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/app/structure-list/components/structure-details/structure-details.component.scss b/src/app/structure-list/components/structure-details/structure-details.component.scss
index 8942e91a9..eeeb766c4 100644
--- a/src/app/structure-list/components/structure-details/structure-details.component.scss
+++ b/src/app/structure-list/components/structure-details/structure-details.component.scss
@@ -120,6 +120,11 @@ p,
   color: $ram-hover-principal;
 }
 
+.description {
+  white-space: pre-wrap;
+  float: left;
+}
+
 .wrapper {
   width: 100%;
   display: grid;
-- 
GitLab