Use consistent sizing for social signup buttons

This commit is contained in:
Milan Cvetkovic 2024-05-10 16:08:06 +00:00
parent ef00f9a467
commit b4f719a8c5

View file

@ -74,8 +74,7 @@ module UserHelper
image_tag("#{name}.svg", image_tag("#{name}.svg",
:alt => t("application.auth_providers.#{name}.alt"), :alt => t("application.auth_providers.#{name}.alt"),
:class => "rounded-1 me-3", :class => "rounded-1 me-3",
:width => "24px", :size => "24") + t("application.auth_providers.#{name}.title"),
:height => "24px") + t("application.auth_providers.#{name}.title"),
auth_path(options.merge(:provider => provider)), auth_path(options.merge(:provider => provider)),
:method => :post, :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", :class => "auth_button fs-6 border rounded text-muted text-decoration-none py-2 px-4 d-flex justify-content-center align-items-center",