mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-10 09:36:12 +01:00
Improve recent groups design
This commit is contained in:
@@ -58,7 +58,11 @@ export function RecentGroupListCard({
|
||||
|
||||
return (
|
||||
<li key={group.id}>
|
||||
<Button variant="outline" className="h-fit w-full py-3" asChild>
|
||||
<Button
|
||||
variant="secondary"
|
||||
className="h-fit w-full py-3 rounded-lg border bg-card shadow-sm"
|
||||
asChild
|
||||
>
|
||||
<div
|
||||
className="text-base"
|
||||
onClick={() => router.push(`/groups/${group.id}`)}
|
||||
|
||||
@@ -155,7 +155,7 @@ function GroupList({
|
||||
setState: (state: SetStateAction<RecentGroupsState>) => void
|
||||
}) {
|
||||
return (
|
||||
<ul className="grid grid-cols-1 gap-2 sm:grid-cols-3">
|
||||
<ul className="grid gap-2 sm:grid-cols-2">
|
||||
{groups.map((group) => (
|
||||
<RecentGroupListCard
|
||||
key={group.id}
|
||||
|
||||
Reference in New Issue
Block a user