feat: enhance card components across the application with consistent hover effects and improved layout; update spacing in categories page for better visual hierarchy
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m5s

This commit is contained in:
Julien Froidefond
2025-12-21 13:38:59 +01:00
parent b3ae6059ca
commit 2452e30a0f
14 changed files with 26 additions and 22 deletions

View File

@@ -13,6 +13,7 @@ import {
CollapsibleContent,
CollapsibleTrigger,
} from "@/components/ui/collapsible";
import { Card } from "@/components/ui/card";
import { CategoryIcon } from "@/components/ui/category-icon";
import {
Plus,
@@ -54,7 +55,7 @@ export function ParentCategoryRow({
const isMobile = useIsMobile();
return (
<div className="border rounded-lg bg-card">
<Card className="card-hover">
<Collapsible open={isExpanded} onOpenChange={onToggleExpanded}>
<div className="flex items-center justify-between px-2 md:px-3 py-1.5 md:py-2">
<CollapsibleTrigger asChild>
@@ -155,6 +156,6 @@ export function ParentCategoryRow({
)}
</CollapsibleContent>
</Collapsible>
</div>
</Card>
);
}