feat(procedure.logo): avoid to resize logo to the smallest scale otherwise it gets pixelated

This commit is contained in:
Martin 2024-01-31 14:33:28 +01:00
parent 3ea718a3f5
commit 6360ae25b0

View file

@ -166,7 +166,7 @@ class Procedure < ApplicationRecord
belongs_to :defaut_groupe_instructeur, class_name: 'GroupeInstructeur', inverse_of: false, optional: true belongs_to :defaut_groupe_instructeur, class_name: 'GroupeInstructeur', inverse_of: false, optional: true
has_one_attached :logo do |attachable| has_one_attached :logo do |attachable|
attachable.variant :email, resize_to_limit: [150, 150] attachable.variant :email, resize_to_limit: [450, 450]
end end
has_one_attached :notice has_one_attached :notice
has_one_attached :deliberation has_one_attached :deliberation