Improve design

This commit is contained in:
Sebastien Castiel
2023-12-14 17:15:28 -05:00
parent 7e279a535d
commit aa95497aab
5 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ export function GroupTabs({ groupId }: Props) {
return (
<Tabs
value={value}
className="mb-4 [&>*]:border"
className="[&>*]:border"
onValueChange={(value) => {
router.push(`/groups/${groupId}/${value}`)
}}

View File

@@ -35,8 +35,8 @@ export default async function GroupLayout({
return (
<>
<div className="flex flex-col sm:flex-row justify-between">
<h1 className="font-bold text-2xl mb-4">
<div className="flex flex-col sm:flex-row justify-between sm:items-center gap-3">
<h1 className="font-bold text-2xl">
<Link href={`/groups/${groupId}`}>{group.name}</Link>
</h1>