]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_helper.rb
utilize button classes on preferred auth button
[rails.git] / app / helpers / user_helper.rb
index 20e8a2292dcc4b24450b4391cce0c0199fc0b2fd..f48de175408b3ec475f4704c2a4f11cf8f177194 100644 (file)
@@ -64,7 +64,7 @@ module UserHelper
                 :size => "24"),
       auth_path(options.merge(:provider => provider)),
       :method => :post,
                 :size => "24"),
       auth_path(options.merge(:provider => provider)),
       :method => :post,
-      :class => "auth_button p-2 d-block",
+      :class => "auth_button btn btn-light mx-1 p-2 d-block",
       :title => t("application.auth_providers.#{name}.title")
     )
   end
       :title => t("application.auth_providers.#{name}.title")
     )
   end
@@ -77,7 +77,7 @@ module UserHelper
                 :size => "24") + t("application.auth_providers.#{name}.title"),
       auth_path(options.merge(:provider => provider)),
       :method => :post,
                 :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",
+      :class => "auth_button btn btn-outline-secondary fs-6 border rounded py-2 px-4 d-flex justify-content-center align-items-center",
       :title => t("application.auth_providers.#{name}.title")
     )
   end
       :title => t("application.auth_providers.#{name}.title")
     )
   end