Skip to content

Commit

Permalink
fix: logout button clickable area (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Mar 18, 2024
1 parent 788eca2 commit 7256dbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/unfold/static/unfold/css/styles.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/unfold/templates/unfold/helpers/account_links.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
{% endif %}

<div class="border-t mt-1 pt-1 dark:border-gray-700">
<form id="logout-form" method="post" action="{% url 'admin:logout' %}" class="bg-none block mx-1 px-3 py-2 text-red-500 rounded hover:bg-red-100 dark:hover:bg-red-500/20 dark:hover:text-red-500">
<form id="logout-form" method="post" action="{% url 'admin:logout' %}" class="mx-1">
{% csrf_token %}

<button type="submit">
<button type="submit" class="bg-none block px-3 py-2 text-left text-red-500 rounded w-full hover:bg-red-100 dark:hover:bg-red-500/20 dark:hover:text-red-500">
{% translate 'Log out' %}
</button>
</form>
Expand Down

0 comments on commit 7256dbd

Please sign in to comment.