Skip to content

Commit

Permalink
clients/topbar: fix notification icon layout
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Feb 1, 2024
1 parent 3a52c07 commit 6dffc57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/apps/web/src/components/Layout/Public/TopbarRight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const TopbarRight = ({
return (
<>
{authenticatedUser ? (
<>
<div className="flex flex-row items-center justify-between gap-x-6">
<Popover type="topbar" />
<ProfileMenu authenticatedUser={authenticatedUser} />
</>
</div>
) : (
<GithubLoginButton text="Continue with GitHub" returnTo={returnTo} />
)}
Expand Down
2 changes: 1 addition & 1 deletion clients/apps/web/src/components/Notifications/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Popover = ({ type = 'topbar' }: { type?: 'topbar' | 'dashboard' }) => {
const notificationsContainerClassnames = twMerge(
'pointer-events-none fixed z-40 flex items-end',
type === 'topbar'
? 'right-0 -left-20 top-12 absolute'
? 'right-4 left-4 md:right-0 md:-left-20 top-12 absolute'
: 'right-4 top-12 left-2',
)

Expand Down

0 comments on commit 6dffc57

Please sign in to comment.