]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4779'
authorTom Hughes <tom@compton.nu>
Fri, 10 May 2024 16:49:05 +0000 (17:49 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 10 May 2024 16:49:05 +0000 (17:49 +0100)
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",