Skip to content
Snippets Groups Projects
Unverified Commit d2de4418 authored by tribut's avatar tribut :man_dancing:
Browse files

Avoid awkward line break by shortening menu item "My Profile"

parent e890c810
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@
<% if user_signed_in? %>
<span class="-mr-2 hidden lg:inline">logged in as</span>
<%= render partial: 'application/user_avatar', locals: { user: current_user } %>
<%= link_to 'My Profile', edit_user_registration_path, class: 'hover:text-gray-900' %>
<%= link_to '<span class="hidden lg:inline">My </span>Profile'.html_safe, edit_user_registration_path, class: 'hover:text-gray-900', aria_label: "My Profile" %>
<%= link_to 'My Assignments', user_assignments_path(current_user), class: 'hover:text-gray-900' %>
<%= link_to 'Logout', destroy_user_session_path, data: { turbo_method: :delete }, class: 'hover:text-gray-900' %>
<% else %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment