Skip to content

Commit

Permalink
[#19] Fix Logout button positioning to be left aligned in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
liamstevens111 committed Mar 21, 2023
1 parent b368d51 commit aa0b4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Sidebar({ user }: SidebarProps) {
<span className="pt-2 font-bold text-white">{user.name}</span>
<img className="cursor-pointer rounded-full" height={36} width={36} src={user.avatarUrl} alt="profile"></img>
</div>
<button onClick={performLogout} className="left-5 text-xl text-white opacity-50">
<button onClick={performLogout} className="relative left-5 self-start text-xl text-white opacity-50">
Logout
</button>
</aside>
Expand Down

0 comments on commit aa0b4db

Please sign in to comment.