refactor(ui): use icon-only create actions in list pages

This commit is contained in:
2026-04-25 19:06:58 +03:30
parent 204b093937
commit 679d1cafb6
4 changed files with 12 additions and 8 deletions

View File

@@ -142,10 +142,11 @@ export const Projects: React.FC = () => {
{canCreateProject && (
<Button
onClick={() => setIsCreateModalOpen(true)}
className="gap-2 shadow-sm flex-1 sm:flex-none"
size="icon"
className="shadow-sm"
title={t.projects?.createNew || 'Create New'}
>
<Plus className="h-5 w-5" />
{t.projects?.createNew || 'Create New'}
</Button>
)}
</div>