Skip to content

Commit 8598bae

Browse files
bbpenneldlpierce
authored andcommitted
Right align user util drop down menu so that options do not run off the side of the page with short user names
1 parent ef0d780 commit 8598bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/_user_util_links.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<span><%= current_user.name %></span>
1111
<span class="sr-only"> <%= t("hyrax.toolbar.profile.sr_target") %></span>
1212
</a>
13-
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
13+
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
1414
<%= link_to "My Profile", hyrax.dashboard_profile_path(current_user), class: 'dropdown-item' %>
1515
<%= link_to t("hyrax.toolbar.dashboard.menu"), hyrax.dashboard_path, class: "dropdown-item" %>
1616
<div class="dropdown-divider"></div>

0 commit comments

Comments
 (0)