The personal finance app for everyone
Updated "small" image variant for retina
Josh Pigforda1065fde83c7
diff --git a/app/models/user.rb b/app/models/user.rbindex cbafdb1c..5b163b83 100644--- a/app/models/user.rb+++ b/app/models/user.rb@@ -18,7 +18,7 @@ class User < ApplicationRecordhas_one_attached :profile_image do |attachable|attachable.variant :thumbnail, resize_to_fill: [ 300, 300 ], convert: :webp, saver: { quality: 80 }- attachable.variant :small, resize_to_fill: [ 36, 36 ], convert: :webp, saver: { quality: 80 }+ attachable.variant :small, resize_to_fill: [ 72, 72 ], convert: :webp, saver: { quality: 80 }endvalidate :profile_image_size