design: improve looks of entityheaders
This commit is contained in:
5 files changed
+51
-53
No files matched your search
@@ -153,7 +153,7 @@
|
||||
"avatar": "Avatar",
|
||||
"banner": "Banner",
|
||||
"email": "Email",
|
||||
"matrix": "Matrix user",
|
||||
"matrix": "Chat on Matrix",
|
||||
"showNSFW": "Show NSFW content",
|
||||
"scores": "Show scores",
|
||||
"bot": "Bot account",
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
{width}
|
||||
{title}
|
||||
class={[
|
||||
'aspect-square object-cover overflow-hidden shrink-0 bg-slate-100 dark:bg-zinc-900',
|
||||
'aspect-square object-cover overflow-hidden shrink-0',
|
||||
circle === true ? 'rounded-full' : circle === false ? 'rounded-lg' : '',
|
||||
|
||||
clazz,
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
alt={name}
|
||||
circle={avatarCircle}
|
||||
class={[
|
||||
'ring-slate-25 bg-slate-25 dark:bg-zinc-925 ring-2 relative dark:ring-zinc-950',
|
||||
'relative',
|
||||
'-mt-8',
|
||||
!avatarCircle && 'rounded-xl @md:rounded-3xl!',
|
||||
]}
|
||||
|
||||
Reference in new issue
Block a user