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

Signed-off-by: Siddhant Khare <Siddhantkhare2694@gmail.com>

Signed-off-by: Siddhant Khare <Siddhantkhare2694@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
pull/6215/head^2
Siddhant Khare 2022-12-30 23:34:54 +05:30 committed by GitHub
parent 06cc6741e6
commit 3535a25a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -313,7 +313,7 @@ function UserDropdown({ small }: { small?: boolean }) {
mutation.mutate({ away: !user?.away }); mutation.mutate({ away: !user?.away });
utils.viewer.me.invalidate(); 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 <Icon.FiMoon
className={classNames( className={classNames(
user.away user.away
@ -362,7 +362,7 @@ function UserDropdown({ small }: { small?: boolean }) {
href={JOIN_SLACK} href={JOIN_SLACK}
target="_blank" target="_blank"
rel="noreferrer" 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" />{" "} <Icon.FiSlack strokeWidth={1.5} className="h-4 w-4 text-gray-500 ltr:mr-2 rtl:ml-3" />{" "}
{t("join_our_slack")} {t("join_our_slack")}
</a> </a>
@ -379,7 +379,7 @@ function UserDropdown({ small }: { small?: boolean }) {
<DropdownMenuItem> <DropdownMenuItem>
<button <button
onClick={() => setHelpOpen(true)} 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 <Icon.FiHelpCircle
className={classNames( className={classNames(
"text-gray-500 group-hover:text-neutral-500", "text-gray-500 group-hover:text-neutral-500",