refactor(lists): align client and project page controls

This commit is contained in:
2026-04-27 20:52:18 +03:30
parent 8ecf317700
commit 1e5f0b6b5e
3 changed files with 211 additions and 217 deletions

View File

@@ -131,7 +131,7 @@ export default function Clients() {
className="shadow-sm shrink-0"
title={t.clients.addClient}
>
<Plus className="w-4 h-4" />
<Plus className="w-5 h-5" />
</Button>
)}
</div>
@@ -170,9 +170,6 @@ export default function Clients() {
{client.notes}
</p>
)}
<div className="text-[11px] text-slate-400 mt-3 font-medium">
{t.clients.addedOn}: {formatDate(client.created_at)}
</div>
</div>
{(canEditClient || canDeleteClient) && (

View File

@@ -203,9 +203,6 @@ export const Projects: React.FC = () => {
{project.description}
</p>
)}
<div className="text-[11px] text-slate-400 mt-3 font-medium">
{(t.projects as any)?.addedOn || "Added on"}: {formatDate(project.created_at)}
</div>
</div>
{(canEditProject || canDeleteProject) && (

View File

@@ -153,7 +153,7 @@ export default function Tags() {
</div>
{canCreateTag && (
<Button onClick={openCreateModal} size="icon" className="shadow-sm shrink-0" title={t.tags?.create || "Create Tag"}>
<Plus className="h-4 w-4" />
<Plus className="h-5 w-5" />
</Button>
)}
</div>