Remove .list-inline classes from auth providers template
None of them were on html lists.
This commit is contained in:
parent
1bc6c2e1dc
commit
149ff72caa
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="list-inline justify-content-center d-flex align-items-center flex-wrap w-100 mb-3" id="login_auth_buttons">
|
<div class="justify-content-center d-flex align-items-center flex-wrap w-100 mb-3" id="login_auth_buttons">
|
||||||
|
|
||||||
<% prefered_auth_button_available = false %>
|
<% prefered_auth_button_available = false %>
|
||||||
<% %w[google facebook microsoft github wikipedia].each do |provider| %>
|
<% %w[google facebook microsoft github wikipedia].each do |provider| %>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% if prefered_auth_button_available %>
|
<% if prefered_auth_button_available %>
|
||||||
<div class="list-inline justify-content-center d-flex align-items-center flex-wrap w-50">
|
<div class="justify-content-center d-flex align-items-center flex-wrap w-50">
|
||||||
<% %w[google facebook microsoft github wikipedia].each do |provider| %>
|
<% %w[google facebook microsoft github wikipedia].each do |provider| %>
|
||||||
<% if Settings.key?("#{provider}_auth_id".to_sym) -%>
|
<% if Settings.key?("#{provider}_auth_id".to_sym) -%>
|
||||||
<% if @preferred_auth_provider == provider %>
|
<% if @preferred_auth_provider == provider %>
|
||||||
|
@ -20,9 +20,9 @@
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</div>
|
</div>
|
||||||
<div class="list-inline justify-content-center d-flex align-items-center flex-wrap gap-2 w-50 px-1">
|
<div class="justify-content-center d-flex align-items-center flex-wrap gap-2 w-50 px-1">
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="list-inline justify-content-center d-flex align-items-center flex-wrap gap-2 w-100">
|
<div class="justify-content-center d-flex align-items-center flex-wrap gap-2 w-100">
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= link_to image_tag("openid.svg",
|
<%= link_to image_tag("openid.svg",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue