fix: long name

This commit is contained in:
shuai 2023-08-22 16:47:56 +08:00
parent 1aad5769c7
commit 255f76b06a
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ const Index: FC<Props> = ({ questionId, readOnly = false }) => {
className="rounded-1"
alt={user.display_name}
/>
<span className="text-nowrap ms-2">{user.display_name}</span>
<span className="text-break ms-2">{user.display_name}</span>
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}
<span
className="px-1 me-n1"
@ -153,7 +153,7 @@ const Index: FC<Props> = ({ questionId, readOnly = false }) => {
alt={user.display_name}
className="rounded-1"
/>
<small className="text-nowrap ms-2">{user.display_name}</small>
<small className="ms-2">{user.display_name}</small>
</Link>
);
})}