mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-18 17:52:22 -06:00
design: fix user card
This commit is contained in:
parent
79ec78a253
commit
b19d5c2cc2
@ -150,11 +150,12 @@ const UserCard = ({ user, actionMode, clickAction }: Props) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="bg-base-100 w-full relative grid grid-cols-[20%_5%_75%]">
|
||||
<div className="bg-base-100 w-full relative grid grid-cols-[22%_1fr] gap-5">
|
||||
<div className="flex flex-row gap-2 bg-slate-100 dark:bg-slate-800 justify-between pr-2">
|
||||
<div
|
||||
className={`border-l-8 border-${
|
||||
MATCH_TYPE_LABEL_AND_COLOR[user.matchType].color
|
||||
} card-body relative py-3 pl-4 pr-1 rounded-sm grid grid-cols-[50px_1fr]`}
|
||||
} relative py-3 pl-4 pr-1 grid grid-cols-[50px_1fr]`}
|
||||
>
|
||||
<UserProfile
|
||||
avatar={user.originalAvatar}
|
||||
@ -182,11 +183,12 @@ const UserCard = ({ user, actionMode, clickAction }: Props) => {
|
||||
<path
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
d="m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"
|
||||
d="m8.25 4.5 7.5 7.5-7.5 7.5"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div className="card-body relative py-3 pl-0 pr-2 rounded-sm grid grid-cols-[50px_1fr]">
|
||||
</div>
|
||||
<div className="relative py-3 pl-0 pr-2 grid grid-cols-[50px_1fr]">
|
||||
<UserProfile
|
||||
avatar={user.avatar}
|
||||
url={`https://bsky.app/profile/${user.handle}`}
|
||||
|
Loading…
x
Reference in New Issue
Block a user