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

@@ -351,7 +351,7 @@ export default function CategoriesPage() {
onToggleAll={allExpanded ? collapseAll : expandAll}
/>
<div className="space-y-1">
<div className="space-y-3 md:space-y-4">
{filteredParentCategories.map((parent: Category) => {
const allChildren = childrenByParent[parent.id] || [];
const children = searchQuery.trim()
@@ -387,8 +387,8 @@ export default function CategoriesPage() {
})}
{orphanCategories.length > 0 && (
<div className="border rounded-lg bg-card">
<div className="px-3 py-2 border-b">
<Card className="card-hover">
<div className="px-3 py-2 border-b border-border">
<span className="text-sm font-medium text-muted-foreground">
Catégories non classées ({orphanCategories.length})
</span>
@@ -405,7 +405,7 @@ export default function CategoriesPage() {
/>
))}
</div>
</div>
</Card>
)}
</div>