mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
ui: Fix user menu popup overflowing beyond the page
Fixes: #2528 Tests: - In Responsive Design Mode in Firefox, expand the screen width to be beyond 1400px. The left side of popup for the user menu will be aligned with the left side of the menu item itself. When the width of the page is less than 1400px, the right side of the popup will be right aligned with the right side of the menu item. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
d76944cafc
commit
c479e2b819
@ -158,8 +158,8 @@
|
||||
<i class="fa fa-user nav-icon"></i>
|
||||
{{ request.user.username }}
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu"
|
||||
aria-labelledby="id_user_menu_link">
|
||||
<ul class="dropdown-menu dropdown-menu-end dropdown-menu-xxl-start"
|
||||
role="menu" aria-labelledby="id_user_menu_link">
|
||||
<li>
|
||||
<a id="id_user_edit_menu" class="dropdown-item"
|
||||
href="{% url 'users:edit' request.user.username %}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user