From: Milan Cvetkovic Date: Fri, 10 May 2024 16:08:06 +0000 (+0000) Subject: Use consistent sizing for social signup buttons X-Git-Tag: live~500^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b4f719a8c58c5177fe3dbc330fc90b3e0ef94c4c Use consistent sizing for social signup buttons --- diff --git a/app/helpers/user_helper.rb b/app/helpers/user_helper.rb index 0a68e608e..536f2620e 100644 --- a/app/helpers/user_helper.rb +++ b/app/helpers/user_helper.rb @@ -74,8 +74,7 @@ module UserHelper image_tag("#{name}.svg", :alt => t("application.auth_providers.#{name}.alt"), :class => "rounded-1 me-3", - :width => "24px", - :height => "24px") + t("application.auth_providers.#{name}.title"), + :size => "24") + t("application.auth_providers.#{name}.title"), auth_path(options.merge(:provider => provider)), :method => :post, :class => "auth_button fs-6 border rounded text-muted text-decoration-none py-2 px-4 d-flex justify-content-center align-items-center",