Skip to content

Commit

Permalink
Social auth buttons UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulsingh321 committed Dec 23, 2024
1 parent 666c19a commit 7c2487b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/views/spree/starter_frontend/shared/_social.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<div id="social-signin-links" class="text-center">
<% if (!spree_current_user || !spree_current_user.user_authentications) && Spree::AuthenticationMethod.active_authentication_methods? %>
<h2><%= I18n.t('spree.sign_in_through_one_of_these_services') %></h2>
<div class="flex items-center my-4">
<hr class="w-full h-px bg-gray-200 border-0 dark:bg-gray-700">
<span class="px-3 text-gray-900 font-medium dark:text-white dark:bg-gray-900"><%= I18n.t('spree.or') %></span>
<hr class="w-full h-px bg-gray-200 border-0 dark:bg-gray-700">
</div>
<% end %>

<div class="flex flex-col items-center w-full space-y-4">
Expand Down
1 change: 0 additions & 1 deletion solidus_social.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ Gem::Specification.new do |spec|
spec.add_dependency 'solidus_auth_devise'
spec.add_dependency 'solidus_core', '>= 2.0.0', '< 5'
spec.add_dependency 'solidus_support', '~> 0.5'
spec.add_dependency 'byebug'

spec.add_development_dependency 'solidus_dev_support'
end

0 comments on commit 7c2487b

Please sign in to comment.