Skip to content

Commit 8e33495

Browse files
No separator below Heading, tweak spacing and font size
1 parent 98c5d4b commit 8e33495

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

resources/js/components/heading.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import { Separator } from '@/components/ui/separator';
2-
31
export default function Heading({ title, description }: { title: string; description?: string }) {
42
return (
53
<>
6-
<div className="space-y-0.5">
7-
<h2 className="text-base font-semibold tracking-tight sm:text-lg lg:text-xl">{title}</h2>
8-
{description && <p className="text-muted-foreground text-xs md:text-sm">{description}</p>}
4+
<div className="mb-8 space-y-0.5">
5+
<h2 className="text-xl font-semibold tracking-tight">{title}</h2>
6+
{description && <p className="text-muted-foreground text-sm">{description}</p>}
97
</div>
10-
<Separator className="my-6" />
118
</>
129
);
1310
}

0 commit comments

Comments
 (0)