From 949a863bd8a59d8f90b62a2e493eefac4c0bf14c Mon Sep 17 00:00:00 2001
From: alexisben <alexiben7@gmail.com>
Date: Mon, 2 May 2022 14:17:44 +0200
Subject: [PATCH] Some fix

---
 .../stylesheets/extranet/_default/components/_persons.sass   | 3 +++
 app/views/extranet/persons/_person.html.erb                  | 5 ++---
 2 files changed, 5 insertions(+), 3 deletions(-)
 create mode 100644 app/assets/stylesheets/extranet/_default/components/_persons.sass

diff --git a/app/assets/stylesheets/extranet/_default/components/_persons.sass b/app/assets/stylesheets/extranet/_default/components/_persons.sass
new file mode 100644
index 000000000..76c3ae6ae
--- /dev/null
+++ b/app/assets/stylesheets/extranet/_default/components/_persons.sass
@@ -0,0 +1,3 @@
+.person
+    line-height: px2rem(24)
+    position: relative
\ No newline at end of file
diff --git a/app/views/extranet/persons/_person.html.erb b/app/views/extranet/persons/_person.html.erb
index 2d68495c5..eabc0824e 100644
--- a/app/views/extranet/persons/_person.html.erb
+++ b/app/views/extranet/persons/_person.html.erb
@@ -1,11 +1,10 @@
-<article class="mb-4 position-relative">
+<article class="mb-4 person">
   <% if person.picture.attached? %>
     <%= kamifusen_tag person.picture, width: 400, class: 'img-fluid mb-2' %>
   <% else %>
     <%= image_tag 'extranet/avatar.png', width: 400, class: 'img-fluid mb-2' %>
   <% end %>
   <%= link_to person, class: 'stretched-link' do %>
-    <%= person.first_name %>
-    <b><%= person.last_name %></b>
+    <%= person.first_name %> <%= person.last_name %>
   <% end %>
 </article>
-- 
GitLab