1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Add text-overflow: ellipsis property for account name display (#1431)

This commit is contained in:
Tony Vincent 2024-11-07 15:42:51 +01:00 committed by GitHub
parent 2722254be9
commit e434ed0e1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 10 deletions

View file

@ -24,9 +24,9 @@
<div class="px-4 py-3 space-y-4">
<% accountable_group.children.map do |account_value_node| %>
<div class="flex items-center justify-between text-sm font-medium text-gray-900">
<div class="flex items-center gap-4">
<div class="flex items-center gap-4 overflow-hidden">
<%= render "accounts/logo", account: account_value_node.original, size: "sm" %>
<div>
<div class="truncate">
<p><%= account_value_node.name %></p>
</div>
</div>