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:
Konrad
2023-08-02 00:10:14 +02:00
committed by GitHub

View File

@@ -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,