diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-04-21 10:26:03 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-04-21 10:26:03 +0200 |
commit | dfedb61b158270a1df4a72985b3638217fc4124e (patch) | |
tree | 8afc45a5f7542f31927130678e3c50104a0f07f3 /components/account.tsx | |
parent | 31396f6b4f1271cb646947111661d9bb59ca951f (diff) |
accountAvatar with some css
Diffstat (limited to 'components/account.tsx')
-rw-r--r-- | components/account.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/account.tsx b/components/account.tsx index f24135f..cb44346 100644 --- a/components/account.tsx +++ b/components/account.tsx @@ -19,14 +19,12 @@ export function AccountAvatar(props: { if (props.dummy) image = dummy; return <div + className={'accountAvatar dispinbl ' + (props.round ? 'round' : '')} style={{ width: props.size, height: props.size, backgroundColor: props.fallbackFill || 'var(--background)', backgroundImage: `url(${image})`, - backgroundSize: 'cover', - display: 'inline-block', - borderRadius: props.size / 2 * Number(props.round || 0), }} />; } |