diff --git a/components/MentionList/index.module.scss b/components/MentionList/index.module.scss index 77823123..a9365406 100644 --- a/components/MentionList/index.module.scss +++ b/components/MentionList/index.module.scss @@ -30,6 +30,19 @@ color: var(--text-primary); } + .job { + display: flex; + align-items: center; + justify-content: center; + width: $unit-4x; + height: $unit-4x; + + img { + width: $unit-3x; + height: auto; + } + } + img { border-radius: $item-corner-small; width: $unit-4x; diff --git a/components/MentionList/index.tsx b/components/MentionList/index.tsx index 63243a23..b242202f 100644 --- a/components/MentionList/index.tsx +++ b/components/MentionList/index.tsx @@ -96,14 +96,18 @@ export const MentionList = forwardRef( key={index} onClick={() => selectItem(index)} > - {item.name[locale]} +
+ {item.name[locale]} +
{item.name[locale]} ))