Skip to content

Commit

Permalink
fix: long emails overflow in account menu dropdown (maybe-finance#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailWahib authored Jul 31, 2024
1 parent 2c5f647 commit 0a21c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/_sidebar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<% else %>
<div class="text-white shrink-0 w-9 h-9 bg-gray-400 rounded-full flex items-center justify-center text-lg uppercase"><%= Current.user.initial %></div>
<% end %>
<div>
<div class="overflow-hidden text-ellipsis">
<span class="text-gray-900 font-medium text-sm"><%= Current.user.display_name %></span>
<% if Current.user.display_name != Current.user.email %>
<span class="text-gray-500 text-sm"><%= Current.user.email %></span>
Expand Down

0 comments on commit 0a21c92

Please sign in to comment.