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
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m5s
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user