mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-10 11:36:36 +08:00
66de566a00
* fix(frontend): left-align announcement logo in homepage banner * fix(frontend): keep multiselect panels floating and preserve summaries * fix(frontend): rebalance config card header spacing * fix(frontend): normalize formatting and fix multiselect modal behavior * fix(frontend): restore config divider spacing on desktop
29 lines
680 B
TypeScript
29 lines
680 B
TypeScript
import * as React from "react";
|
|
|
|
import {
|
|
Card as BaseCard,
|
|
CardContent,
|
|
CardHeader as BaseCardHeader,
|
|
} from "@/components/ui/card";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
export function Card({ className, ...props }: React.ComponentProps<"div">) {
|
|
return <BaseCard className={className} {...props} />;
|
|
}
|
|
|
|
export function CardHeader({
|
|
className,
|
|
...props
|
|
}: React.ComponentProps<"div">) {
|
|
return <BaseCardHeader className={cn("p-4 md:p-6", className)} {...props} />;
|
|
}
|
|
|
|
export function CardBody({ className, ...props }: React.ComponentProps<"div">) {
|
|
return (
|
|
<CardContent
|
|
className={cn("p-4 pt-0 md:p-6 md:pt-0", className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|