diff options
author | Loek Le Blansch <32883851+lonkaars@users.noreply.github.com> | 2021-04-21 10:40:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 10:40:52 +0200 |
commit | dadc722875b2095bd3d6c4ab628a644197b85f7b (patch) | |
tree | 9e061708fad5bfdcc40f4c40662d77fbc42cfe64 /components/account.tsx | |
parent | c603cb79e7ba7fdbb101a506e36f6d8d70b3a8f4 (diff) | |
parent | 5cb39d822716c650e520c3855ef049ff308a348c (diff) |
Merge pull request #12 from lonkaars/css-files
big redesign css move thing
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), }} />; } |