]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unnecessary classes from preferred auth button
authorAnton Khorev <tony29@yandex.ru>
Mon, 8 Jul 2024 14:24:48 +0000 (17:24 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 8 Jul 2024 14:24:48 +0000 (17:24 +0300)
.rounded is the default rounding for this button type.
.fs-6 is the default font size for this button type.

app/helpers/user_helper.rb

index d767cb887c4730612c991a68f2a86f17d3796150..5da0a75fd55665bd6e783cefd5ee43a46500aac9 100644 (file)
@@ -77,7 +77,7 @@ module UserHelper
                 :size => "36") + t("application.auth_providers.#{name}.title"),
       auth_path(options.merge(:provider => provider)),
       :method => :post,
                 :size => "36") + t("application.auth_providers.#{name}.title"),
       auth_path(options.merge(:provider => provider)),
       :method => :post,
-      :class => "auth_button btn btn-outline-secondary fs-6 border rounded py-2 px-4 d-flex justify-content-center align-items-center",
+      :class => "auth_button btn btn-outline-secondary border 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