Skip to content

Commit

Permalink
fix: make refine modal search result ellipsis less wide (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChibiBlasphem authored Feb 18, 2025
1 parent 6abf2ad commit 6e2a20b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export function MatchResult({ entity }: { entity: SanctionCheckMatchPayload }) {
return (
<div className="text-s bg-grey-98 flex items-center rounded">
<div className="flex items-center gap-2 p-4">
<span className="truncate font-semibold">{entity.caption}</span>
<span className="max-w-60 truncate font-semibold">
{entity.caption}
</span>
<span>{t(`sanctions:entity.schema.${entitySchema}`)}</span>
<Tag color="grey" className="shrink-0">
{t('sanctions:match.similarity', {
Expand Down

0 comments on commit 6e2a20b

Please sign in to comment.