From 2a14f621f084c62af24cb88455dac8de97efd34c Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 6 Feb 2024 08:34:53 +0100 Subject: [PATCH] fix --- app/views/admin/application/favorites/_show.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/admin/application/favorites/_show.html.erb b/app/views/admin/application/favorites/_show.html.erb index b5e1cb046..dc6703a30 100644 --- a/app/views/admin/application/favorites/_show.html.erb +++ b/app/views/admin/application/favorites/_show.html.erb @@ -5,13 +5,12 @@ <% websites = current_user.favorites.websites.collect(&:about) %> <%= render 'admin/communication/websites/list', websites: websites %> <% other = current_user.favorites.except_websites %> - <% if other.any? %> <div class="row"> <% current_user.favorites.except_websites.each do |favorite| %> <% about = favorite.about %> <% next unless can?(:read, about) %> - <div class="col-md-6 col-xl-3 d-flex"> + <div class="col-md-6 col-lg-3 d-flex"> <%= osuny_panel about do %> <p class="small mt-n2 mb-1"><%= about.class.model_name.human %></p> <%= link_to t('show'), -- GitLab