Skip to content

Commit

Permalink
verticaly centered the icon and text in popout menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Oct 22, 2024
1 parent 259d6f2 commit 120469c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const PopoutMenuItem: React.FC<PopoutMenuItemProps> = ({
console.warn("onClick and href are both defined");
}
const content = (
<div className="inline-flex w-full items-start justify-start gap-2.5 hover:rounded hover:bg-[#e0e0e0]">
<div className="inline-flex w-full items-center justify-start gap-2.5 hover:rounded hover:bg-[#e0e0e0]">
{getIcon(icon)}
<div className="font-['Inter'] text-base font-normal leading-7 text-[#474747]">
{text}
Expand Down

0 comments on commit 120469c

Please sign in to comment.