mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-02 11:31:08 +03:00
fix(core): sidebar unauthorized user avatar should center vertically (#7812)
This commit is contained in:
parent
d2b0ee40a8
commit
e8d5692062
@ -19,7 +19,12 @@ export const UnknownUserIcon = memo(
|
||||
</defs>
|
||||
</svg>`;
|
||||
|
||||
return <div dangerouslySetInnerHTML={{ __html: svgRaw }} />;
|
||||
return (
|
||||
<div
|
||||
style={{ lineHeight: 0 }}
|
||||
dangerouslySetInnerHTML={{ __html: svgRaw }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
);
|
||||
UnknownUserIcon.displayName = 'UnknownUserIcon';
|
||||
|
Loading…
Reference in New Issue
Block a user