Skip to content

Commit

Permalink
Adjust navbar spacing and align notification popover content
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkomath committed Jan 15, 2025
1 parent bd591b4 commit 7168a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions components/console/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ export default function NavBar({
<ProjectSwitcher projects={projects} />
</div>

<div className="ml-2 flex justify-center space-x-4">
<div className="ml-2 flex justify-center space-x-2">
<Notifications />

<UserButton orgSlug={activeOrgSlug} />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/ui/popover-with-notificaition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function Notifications() {
)}
</Button>
</PopoverTrigger>
<PopoverContent className="w-80 p-1">
<PopoverContent className="w-80 p-1" align="end">
<div className="flex items-baseline justify-between gap-4 px-3 py-2">
<div className="text-sm font-semibold">Notifications</div>
{unreadCount > 0 && (
Expand Down

0 comments on commit 7168a14

Please sign in to comment.