mirror of
https://github.com/usememos/memos.git
synced 2024-12-29 00:21:52 +08:00
chore: fix user avatar style
This commit is contained in:
parent
d165ad187c
commit
439d88f06b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ interface Props {
|
|||
const UserAvatar = (props: Props) => {
|
||||
const { avatarUrl, className } = props;
|
||||
return (
|
||||
<div className={classNames(`w-8 h-auto overflow-clip rounded-full`, className)}>
|
||||
<div className={classNames(`w-8 h-8 overflow-clip rounded-full`, className)}>
|
||||
<img
|
||||
className="w-full h-auto rounded-full min-w-full min-h-full object-cover dark:opacity-80"
|
||||
src={avatarUrl || "/logo.webp"}
|
||||
|
|
Loading…
Reference in a new issue