]> git.openstreetmap.org Git - rails.git/commitdiff
Use consistent sizing for social signup buttons
authorMilan Cvetkovic <mcvetkovic@microsoft.com>
Fri, 10 May 2024 16:08:06 +0000 (16:08 +0000)
committerMilan Cvetkovic <mcvetkovic@microsoft.com>
Fri, 10 May 2024 16:08:06 +0000 (16:08 +0000)
app/helpers/user_helper.rb

index 0a68e608e2ae354000df043f10220a257013ed3a..536f2620e02df11c20004b7e0320954201ea38ad 100644 (file)
@@ -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",