Fix design of sign in and signature modal [SCI-9109] (#6074)

This commit is contained in:
Soufiane 2023-08-24 15:50:05 +02:00 committed by GitHub
parent 962de09599
commit bed603c5d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -45,8 +45,12 @@
}
.sci-input-field[type=password] {
font-family: Arial;
font-family: "SN Inter", "Open Sans", Arial, Helvetica, sans-serif;
letter-spacing: .075em;
&::placeholder {
letter-spacing: initial;
}
}
.sn-icon {

View file

@ -14,12 +14,12 @@
<% unless Rails.application.config.x.disable_local_passwords %>
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div class="input-group sci-input-container">
<div class="input-group form-group sci-input-container">
<%= f.label :email, t("devise.sessions.new.email_field") %>
<%= f.email_field :email, autofocus: true, class: "form-control sci-input-field", placeholder: t("devise.sessions.new.email_placeholder") %>
</div>
<div class="input-group sci-input-container">
<div class="input-group form-group sci-input-container">
<%= f.label :password, t("devise.sessions.new.password_field") %>
<%= f.password_field :password, autocomplete: "off", class: "form-control sci-input-field", placeholder: t("devise.sessions.new.password_placeholder") %>
</div>