Skip to content

Commit

Permalink
Adjust alignment & copy in Organization empty state
Browse files Browse the repository at this point in the history
  • Loading branch information
godfrzero committed Mar 7, 2025
1 parent bbf2934 commit 7a30d60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/insomnia/src/ui/routes/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1481,16 +1481,16 @@ const ProjectRoute: FC = () => {
</div>
</div>
) : (
<div className="w-full flex flex-col gap-2 items-center justify-center overflow-hidden">
<p className='text-lg'>
This is an empty Organization. To get started create your first project.
<div className="w-full h-full flex flex-col gap-2 items-center justify-center overflow-hidden">
<p className='text-lg px-8 mb-4 text-center'>
This is an empty organization. Create a project to get started.
</p>
<Button
aria-label="Create new Project"
aria-label="Create Project"
onPress={() => setIsNewProjectModalOpen(true)}
className="flex items-center justify-center px-4 gap-2 py-2 bg-[--hl-xxs] aria-pressed:bg-[--hl-sm] rounded-sm text-[--color-font] hover:bg-[--hl-xs] focus:ring-inset ring-1 ring-transparent focus:ring-[--hl-md] transition-all"
>
<Icon icon="plus-circle" /> Create a new Project
<Icon icon="plus-circle" /> Create Project
</Button>
</div>
)}
Expand Down

0 comments on commit 7a30d60

Please sign in to comment.