chore: add image size

This commit is contained in:
hdsuperman
2022-12-22 22:05:21 +08:00
parent b374bc7ddd
commit f4fbc7adbd
11 changed files with 61 additions and 18 deletions
+10 -2
View File
@@ -93,9 +93,17 @@ export default function Filter({ filter, updateFilter }) {
onClick={toggleFilterVisible.bind(null, { from: true })}
>
{from && (
<Avatar className="avatar" name={userMap[from].name} src={userMap[from].avatar} />
<Avatar
width={16}
height={16}
className="avatar"
name={userMap[from].name}
src={userMap[from].avatar}
/>
)}
<span className="txt">{t("from")} {from && userMap[from].name}</span>
<span className="txt">
{t("from")} {from && userMap[from].name}
</span>
<ArrowDown className="arrow" />
</div>
</Tippy>