Skip to content

Commit

Permalink
fix(css): log in buttons centering and text (#193)
Browse files Browse the repository at this point in the history
ESN Accounts log in button was centered and the word "login" from the
"LOGIN TO YOUR ACCOUNT" button was split into "log in"

Resolves #192
  • Loading branch information
erman-dev authored Aug 27, 2023
2 parents 5baf01a + fd807fb commit 2853191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fiesta/apps/accounts/templates/account/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1 class="card-title">{% trans "Log in" %}</h1>
<a href="{% url 'account_reset_password' %}"
class="link link-neutral link-hover">Lost Password?</a>
</div>
<button type="submit" class="btn btn-primary btn-block">Login to your account</button>
<button type="submit" class="btn btn-primary btn-block">Log in to your account</button>
{# social accounts logins do have their own forms, so it cannot be nested #}
</form>
{% include "account/parts/social_login_buttons.html" with process="Log in" %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="flex flex-col space-y-2">
<a type="button"
href="{% provider_login_url "esnaccounts" %}"
class="text-black bg-white hover:bg-gray-50 border border-2 focus:ring-4 focus:ring-rose-400 inline-block font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center">
class="text-black bg-white hover:bg-gray-50 border border-2 focus:ring-4 focus:ring-rose-400 inline-block font-medium rounded-lg text-sm px-5 py-2.5 inline-flex justify-center">
<svg class="w-6 h-6 mr-2 -ml-1" viewBox="0 0 40 40">
<use href="{% static "esn-star-color.svg" %}#esn-star-color"></use>
</svg>
Expand Down

0 comments on commit 2853191

Please sign in to comment.