Skip to content

Commit

Permalink
fixed alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahugunajii committed Dec 22, 2023
1 parent 5d22765 commit 1662017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const TopBar = () => {
onClick={toggleDropdown}
/>
{isDropdownOpen && (
<div className="absolute top-full right-1 bg-white p-2 shadow-md text-black rounded-lg text-base">
<div className="absolute top-full right-1 bg-white p-2 shadow-md text-black rounded-lg text-base w-32 grid grid-cols-1 gap-2">
<button onClick={handleLogout}>Logout</button>
</div>
)}
Expand Down

0 comments on commit 1662017

Please sign in to comment.