From b4f719a8c58c5177fe3dbc330fc90b3e0ef94c4c Mon Sep 17 00:00:00 2001 From: Milan Cvetkovic Date: Fri, 10 May 2024 16:08:06 +0000 Subject: [PATCH] Use consistent sizing for social signup buttons --- app/helpers/user_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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", -- 2.39.5