-
-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4943 from coalest/css-fixes
Minor CSS fixes to sign in/up flow
- Loading branch information
Showing
4 changed files
with
62 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
</style> | ||
<%= render partial: "shared/flash" %> | ||
<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> | ||
<div class="login-box"> | ||
<div class="login-box w-100"> | ||
<!-- /.login-logo --> | ||
<div class="card"> | ||
<div class="card-body login-card-body"> | ||
|
@@ -27,7 +27,7 @@ | |
</div> | ||
<div class="form-inputs" data-controller="password-visibility"> | ||
<div class="password-input-wrapper"> | ||
<%= f.input :password, autofocus: true, input_html: { data: { password_visibility_target: 'password' } } %> | ||
<%= f.input :password, autofocus: true, required: true, input_html: { data: { password_visibility_target: 'password' } } %> | ||
<span class="toggle-password"> | ||
<i class="fas fa-eye-slash" data-action="click->password-visibility#toggle" data-password-visibility-target="icon"></i> | ||
</span> | ||
|
@@ -53,6 +53,6 @@ | |
</div> | ||
<% end %> | ||
|
||
<%= link_to user_google_oauth2_omniauth_authorize_path, method: :post do %> | ||
<img src="../img/[email protected]" alt="Sign in with Google"> | ||
<%= link_to user_google_oauth2_omniauth_authorize_path, method: :post, class: "d-block" do %> | ||
<img src="../img/[email protected]" alt="Sign in with Google" class="d-block w-100"> | ||
<% end %> |