Skip to content

Commit

Permalink
Use consistent sizing for social signup buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-cvetkovic committed May 10, 2024
1 parent ef00f9a commit b4f719a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/user_helper.rb
Expand Up @@ -74,8 +74,7 @@ def auth_button_preferred(name, provider, options = {})
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",
Expand Down

0 comments on commit b4f719a

Please sign in to comment.