refactor: update card component styling for improved consistency and alignment
This commit is contained in:
@@ -17,9 +17,9 @@
|
|||||||
])
|
])
|
||||||
|
|
||||||
@php
|
@php
|
||||||
$cardClasses = 'bg-background-secondary rounded-xl border border-neutral/20 shadow-sm transition-all duration-200';
|
$cardClasses = 'bg-white dark:bg-gray-900 rounded-xl border border-gray-200 dark:border-gray-800 shadow-sm transition-all duration-200';
|
||||||
if ($href || $clickable) {
|
if ($href || $clickable) {
|
||||||
$cardClasses .= ' hover:shadow-md hover:border-primary/30 cursor-pointer';
|
$cardClasses .= ' hover:shadow-md hover:border-gray-300 dark:hover:border-gray-700 cursor-pointer';
|
||||||
}
|
}
|
||||||
$paddingClasses = $compact ? 'p-4' : 'p-5';
|
$paddingClasses = $compact ? 'p-4' : 'p-5';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user