Skip to content

armgit / maybe

Public Imported from GitHub
0

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.rb
index cbafdb1c..5b163b83 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -18,7 +18,7 @@ class User < ApplicationRecord
has_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 }
end
validate :profile_image_size