Skip to content

Commit

Permalink
Truncated long value names in selected section in the AttachModal (#8668
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Annaseli authored Feb 17, 2025
1 parent d9ec283 commit d60bf78
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion webui/src/lib/components/auth/forms.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,21 @@ export const AttachModal = ({
<p>
<strong>Selected: </strong>
{(selected.map(item => (
<Badge key={item.id} pill variant="primary" className="me-1">
<Badge
key={item.id}
pill
variant="primary"
className="
me-1
d-inline-block
w-25
text-nowrap
overflow-hidden
text-truncate
align-middle
"
title={resolveEntityFn(item)}
>
{resolveEntityFn(item)}
</Badge>
)))}
Expand Down

0 comments on commit d60bf78

Please sign in to comment.