Skip to content

Commit 94f2099

Browse files
committed
Center HE logo, google sign in, and form container
1 parent b59da0e commit 94f2099

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/views/layouts/_devise_shared.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<body id="devise" class="hold-transition login-page <%= body_class %> <%= Rails.env.staging? ? 'login-page-test' : '' %>">
5858
<div class="login-box">
5959
<% if masthead_img_src %>
60-
<div class="login-logo text-center">
61-
<img id="MastheadLogo" src="<%= masthead_img_src %>" alt="Human Essentials" title="Human Essentials" class="serv_icon">
60+
<div class="login-logo">
61+
<img id="MastheadLogo" src="<%= masthead_img_src %>" alt="Human Essentials" title="Human Essentials" class="serv_icon mw-100">
6262
</div>
6363
<% end %>
6464

app/views/users/sessions/new.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</style>
1515
<%= render partial: "shared/flash" %>
1616
<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
17-
<div class="login-box">
17+
<div class="login-box w-100">
1818
<!-- /.login-logo -->
1919
<div class="card">
2020
<div class="card-body login-card-body">
@@ -53,6 +53,6 @@
5353
</div>
5454
<% end %>
5555

56-
<%= link_to user_google_oauth2_omniauth_authorize_path, method: :post do %>
57-
<img src="../img/[email protected]" alt="Sign in with Google">
56+
<%= link_to user_google_oauth2_omniauth_authorize_path, method: :post, class: "d-block" do %>
57+
<img src="../img/[email protected]" alt="Sign in with Google" class="d-block w-100">
5858
<% end %>

0 commit comments

Comments
 (0)