feat: add text color
This commit is contained in:
@@ -32,7 +32,7 @@ export default function PackageList({ packages, onEdit, onDelete, isLoading }: P
|
||||
<div className="bg-white shadow overflow-hidden sm:rounded-lg">
|
||||
<ul className="divide-y divide-gray-200">
|
||||
{packages.map((pkg) => (
|
||||
<li key={pkg.id} className="px-6 py-4 hover:bg-gray-50">
|
||||
<li key={pkg.id} className="px-2 py-4 hover:bg-gray-50">
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center space-x-3 space-x-reverse">
|
||||
@@ -44,22 +44,18 @@ export default function PackageList({ packages, onEdit, onDelete, isLoading }: P
|
||||
/>
|
||||
)}
|
||||
<div>
|
||||
<p className="text-sm font-medium text-indigo-600 truncate">
|
||||
<p className="text-sm font-medium text-indigo-600 truncate px-2">
|
||||
{pkg.title || 'بدون عنوان'}
|
||||
</p>
|
||||
<p className="text-sm text-gray-500">
|
||||
<p className="text-sm text-gray-500 px-2">
|
||||
{pkg.name || 'بدون نام'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mt-2 sm:flex sm:justify-between">
|
||||
<div className="sm:flex sm:space-x-4 sm:space-x-reverse">
|
||||
<p className="text-xs text-gray-500">
|
||||
شناسه: {pkg.uuid?.substring(0, 8)}...
|
||||
</p>
|
||||
<p className="text-xs text-gray-500 mt-1 sm:mt-0">
|
||||
تلاشها: {pkg.tries || 0}
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
<p className="text-xs text-gray-500 mt-1 sm:mt-0">
|
||||
آخرین بهروزرسانی: {formatDate(pkg.updated_at)}
|
||||
|
||||
Reference in New Issue
Block a user