From 4d23579cd8981aa0911bace13d3ee1ce3bacf472 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Mon, 21 Oct 2024 09:36:27 +0200
Subject: [PATCH] Fix user classes

---
 app/views/admin/users/_list.html.erb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/views/admin/users/_list.html.erb b/app/views/admin/users/_list.html.erb
index 0294595c2..3fc6cd3cd 100644
--- a/app/views/admin/users/_list.html.erb
+++ b/app/views/admin/users/_list.html.erb
@@ -1,7 +1,7 @@
 <div class="row g-3">
   <% users.each do |user| %>
-    <div class="col-6 col-lg-3 col-xxl-2">
-      <div class="card mb-0">
+    <div class="col-sm-6 col-lg-3 col-xxl-2">
+      <div class="<%= osuny_card_classes %>">
         <%= render 'admin/application/components/thumbnail',
                     image: user.picture,
                     initials: user.initials,
@@ -12,7 +12,7 @@
           <p class="mb-1">
             <%= link_to user,
                         admin_user_path(user),
-                        classes: 'stretched-link'  %>
+                        class: 'stretched-link'  %>
           </p>
           <p class="small text-muted mb-0">
             <%= t("activerecord.attributes.user.roles.#{user.role}") %>
-- 
GitLab