fix: consistency on menu hover border bug 🔧 (#6218)

Signed-off-by: Siddhant Khare <[email protected]>

Signed-off-by: Siddhant Khare <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Siddhant KhareandPeer Richelsen authored and GitHub committed 2022-12-30 18:04:54 +00:00
1 parent 06cc6741e6
commit 3535a25a59
1 file changed
+3 -3
+3 -3
View File
@@ -313,7 +313,7 @@ function UserDropdown({ small }: { small?: boolean }) {
mutation.mutate({ away: !user?.away });
utils.viewer.me.invalidate();
}}
className="flex w-full min-w-max cursor-pointer items-center px-4 py-2 text-sm hover:bg-gray-100 hover:text-gray-900">
className="flex w-full min-w-max cursor-pointer items-center px-4 py-2 text-sm">
<Icon.FiMoon
className={classNames(
user.away
@@ -362,7 +362,7 @@ function UserDropdown({ small }: { small?: boolean }) {
href={JOIN_SLACK}
target="_blank"
rel="noreferrer"
className="flex items-center px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900">
className="flex items-center px-4 py-2 text-sm text-gray-700">
<Icon.FiSlack strokeWidth={1.5} className="h-4 w-4 text-gray-500 ltr:mr-2 rtl:ml-3" />{" "}
{t("join_our_slack")}
</a>
@@ -379,7 +379,7 @@ function UserDropdown({ small }: { small?: boolean }) {
<DropdownMenuItem>
<button
onClick={() => setHelpOpen(true)}
className="flex w-full items-center px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900">
className="flex w-full items-center px-4 py-2 text-sm text-gray-700">
<Icon.FiHelpCircle
className={classNames(
"text-gray-500 group-hover:text-neutral-500",