refactor!: refine spacings

BREAKING CAHNGE: some spaces changed
This commit is contained in:
rusconn
2024-03-28 18:08:33 +09:00
parent 2fc9b7e419
commit 2741082c84
14 changed files with 99 additions and 89 deletions

View File

@@ -1,3 +1,5 @@
import { cn } from "@/lib/style";
type Props = {
className?: string;
children: React.ReactNode;
@@ -6,8 +8,8 @@ type Props = {
export function PageRootSection({ className, children, title }: Props) {
return (
<section {...{ className }}>
<h1 className="mb-6 text-2xl">{title}</h1>
<section className={cn("flex flex-col gap-6", className)}>
<h1 className="text-2xl">{title}</h1>
{children}
</section>
);