anix/style: change sections columns from 1 to 2 on mobile

This commit is contained in:
Kentai Radiquum 2025-08-25 05:20:03 +05:00
parent 6b84a312f7
commit 8d2800c2f2
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
5 changed files with 41 additions and 59 deletions

View file

@ -18,8 +18,8 @@ export const UserSection = (props: { sectionTitle?: string; content: any }) => {
<Link href={`/profile/${user.id}`} key={user.id}>
<Card>
<div className="flex items-center gap-4">
<Avatar img={user.avatar} alt="" size="lg" rounded={true} />
<p className="text-xl font-medium text-gray-900 dark:text-white">{user.login}</p>
<Avatar img={user.avatar} alt="" size="lg" rounded={true} className="flex-shrink-0"/>
<p className="text-xl font-medium text-gray-900 dark:text-white line-clamp-1">{user.login}</p>
</div>
</Card>
</Link>