From 6360ae25b0995c685603cc7587497a233617b985 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 31 Jan 2024 14:33:28 +0100 Subject: [PATCH] feat(procedure.logo): avoid to resize logo to the smallest scale otherwise it gets pixelated --- app/models/procedure.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/procedure.rb b/app/models/procedure.rb index 3cf8b82f9..76033720b 100644 --- a/app/models/procedure.rb +++ b/app/models/procedure.rb @@ -166,7 +166,7 @@ class Procedure < ApplicationRecord belongs_to :defaut_groupe_instructeur, class_name: 'GroupeInstructeur', inverse_of: false, optional: true has_one_attached :logo do |attachable| - attachable.variant :email, resize_to_limit: [150, 150] + attachable.variant :email, resize_to_limit: [450, 450] end has_one_attached :notice has_one_attached :deliberation