]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_helper.rb
Bump eslint from 9.2.0 to 9.3.0
[rails.git] / 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",