From f6915c40e97d1f8a3b897c342b2117e095962c0f Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 15 Dec 2022 06:55:20 +0100
Subject: [PATCH] little tweak for small screens

---
 assets/sass/_theme/blocks/organization_chart.sass         | 5 ++++-
 layouts/partials/blocks/templates/organization_chart.html | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/assets/sass/_theme/blocks/organization_chart.sass b/assets/sass/_theme/blocks/organization_chart.sass
index f91ffce9..e4764926 100644
--- a/assets/sass/_theme/blocks/organization_chart.sass
+++ b/assets/sass/_theme/blocks/organization_chart.sass
@@ -9,10 +9,12 @@
             + p
                 margin-top: half($spacing0)
 
+
     @include media-breakpoint-up(md)
         @include in-page-with-sidebar
             .persons
-                @include grid(2, md)
+                @include grid(1, md)
+                @include grid(2, xxl)
             article
                 flex-direction: row
                 align-items: start
@@ -21,6 +23,7 @@
                     width: calc(#{col(1, 4)} + #{$grid-gutter})
                 .description
                     margin-top: $spacing1
+                    max-width: 70%
         @include in-page-without-sidebar
             .persons
                 @include grid(4, lg)
diff --git a/layouts/partials/blocks/templates/organization_chart.html b/layouts/partials/blocks/templates/organization_chart.html
index bf0ae743..9bd0ccd4 100644
--- a/layouts/partials/blocks/templates/organization_chart.html
+++ b/layouts/partials/blocks/templates/organization_chart.html
@@ -34,7 +34,7 @@
                     </a>
                     {{ end }}
                   </h1>
-                  <p itemprop="jobTitle"></p>
+                  <p itemprop="jobTitle">
                     {{- if (partial "GetTextFromHTML" .role) }}
                       {{ partial "PrepareHTML" .role }}
                     {{- else if partial "GetTextFromHTML" $person.Params.description_short }}
-- 
GitLab