Skip to content

Commit f31b9f9

Browse files
committed
Small fix on user menu
1 parent 6f993e7 commit f31b9f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

label_buddy/templates/base.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ <h6 class="dropdown-header user-round-icon">
6767
<b> Hi, {{ user.username }}</b>
6868
</h6>
6969
<div class="dropdown-divider"></div>
70-
<a class="dropdown-item" href="{% url 'edit_user' user.username %}"> <i class="fas fa-user-edit drop-down"></i> Edit profile</a>
71-
<a class="dropdown-item" href="/accounts/password/change"> <i class="fa fa-lock drop-down" aria-hidden="true"></i> Change password</a>
70+
<a class="dropdown-item" href="{% url 'edit_user' user.username %}"><div style="width: 40px; display: inline-block;"><i class="fas fa-user-edit drop-down"></i></div>Edit profile</a>
71+
<a class="dropdown-item" href="/accounts/password/change"><div style="width: 40px; display: inline-block;"><i class="fa fa-lock drop-down" aria-hidden="true"></i></div>Change password</a>
7272
<div class="dropdown-divider"></div>
7373
<form method="post" action="{% url 'account_logout' %}">
7474
{% csrf_token %}
7575
{% if redirect_field_value %}
7676
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
7777
{% endif %}
78-
<button class="dropdown-item" style="outline: none; cursor: pointer;" type="submit"> <i class="fas fa-sign-out-alt drop-down"></i> Sign out</button>
78+
<button class="dropdown-item" style="outline: none; cursor: pointer;" type="submit"><div style="width: 40px; display: inline-block;"><i class="fas fa-sign-out-alt drop-down"></i></div>Sign out</button>
7979
</form>
8080
</div>
8181
</li>

0 commit comments

Comments
 (0)