fix: ui fixes

This commit is contained in:
gosangam
2026-06-15 10:04:11 +05:30
parent a4fd63695a
commit c551d2f7a8
+3 -3
View File
@@ -56,7 +56,7 @@ export function NewUsersStrip({ users }: { users: UserSummary[] }) {
}
return (
<section className="rounded-xl bg-card ring-1 ring-foreground/10 p-5">
<section className="rounded-xl">
<div className="mb-4 flex items-center gap-2.5">
<span
aria-hidden
@@ -83,14 +83,14 @@ export function NewUsersStrip({ users }: { users: UserSummary[] }) {
onPointerUp={onPointerUp}
onPointerCancel={onPointerUp}
onClickCapture={onClickCapture}
className="-mx-5 flex gap-3 overflow-x-auto px-5 pb-1 snap-x scroll-px-5 cursor-grab active:cursor-grabbing [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden"
className="-mx-5 flex gap-3 overflow-x-auto px-5 py-1 snap-x scroll-px-5 cursor-grab active:cursor-grabbing [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden"
>
{users.map((u) => (
<Link
key={u.handle}
href={`/u/${u.handle}`}
draggable={false}
className="group snap-start shrink-0 w-32 flex flex-col items-center gap-2 rounded-xl bg-background ring-1 ring-foreground/10 px-3 py-4 text-center transition hover:ring-foreground/25 hover:bg-muted/40"
className="group snap-start shrink-0 w-32 flex flex-col items-center gap-2 rounded-xl bg-card ring-1 ring-foreground/10 px-3 py-4 text-center transition hover:ring-foreground/25 hover:bg-muted/40"
>
<UserAvatar
src={u.avatar_url}