verticaly centered the icon and text in popout menu items

This commit is contained in:
SwiftyOS
2024-10-22 14:05:32 +02:00
parent 259d6f2b69
commit 120469c8bf

View File

@@ -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}