mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #11281 from jibees/11205-white-label-logo-image-not-displaying-correctly-on-mobile
White label: Update mobile variant size for white label logo to fit the same ratio
This commit is contained in:
@@ -91,7 +91,7 @@ class Enterprise < ApplicationRecord
|
||||
end
|
||||
has_one_attached :white_label_logo, service: image_service do |attachment|
|
||||
attachment.variant :default, resize_to_fill: [217, 44]
|
||||
attachment.variant :mobile, resize_to_fill: [75, 26]
|
||||
attachment.variant :mobile, resize_to_fill: [128, 26]
|
||||
end
|
||||
|
||||
validates :logo,
|
||||
|
||||
Reference in New Issue
Block a user