Scheduling infrastructure for absolutely everyone.
fixed search icon and tablet menu (#4139)
Peer Richelsen8a2005ccf1b4
diff --git a/packages/ui/Kbar.tsx b/packages/ui/Kbar.tsxindex 6f81527f95f..c66884c97fd 100644--- a/packages/ui/Kbar.tsx+++ b/packages/ui/Kbar.tsx@@ -12,8 +12,8 @@ import { useRouter } from "next/router";import { useLocale } from "@calcom/lib/hooks/useLocale";import { isMac } from "@calcom/lib/isMac";-import { Tooltip } from "@calcom/ui";import { Icon } from "@calcom/ui/Icon";+import { Tooltip } from "@calcom/ui/v2/core";type shortcutArrayType = {shortcuts?: string[];@@ -226,8 +226,8 @@ export const KBarTrigger = () => {<buttoncolor="minimal"onClick={query.toggle}- className="group flex text-sm font-medium text-neutral-500 hover:text-neutral-900">- <Icon.FiSearch className="h-4 w-4 flex-shrink-0 text-neutral-400 group-hover:text-neutral-500" />+ className="group flex rounded-md py-2 px-3 text-sm font-medium hover:bg-gray-100 lg:p-1 lg:hover:bg-gray-200 lg:hover:text-neutral-900">+ <Icon.FiSearch className="h-4 w-4 flex-shrink-0 text-inherit" /></button></Tooltip></>diff --git a/packages/ui/v2/core/Shell.tsx b/packages/ui/v2/core/Shell.tsxindex 4f333aa6d1d..54954c7a51e 100644--- a/packages/ui/v2/core/Shell.tsx+++ b/packages/ui/v2/core/Shell.tsx@@ -439,9 +439,9 @@ const Navigation = () => {{navigation.map((item) => (<NavigationItem key={item.name} item={item} />))}- <span className="group flex items-center rounded-sm px-3 py-3 text-sm font-medium text-neutral-500 hover:bg-gray-50 hover:text-neutral-900 lg:hidden">+ <div className="text-gray-500 lg:hidden"><KBarTrigger />- </span>+ </div></nav>);};@@ -477,15 +477,15 @@ const NavigationItem: React.FC<{<aaria-label={t(item.name)}className={classNames(- "group flex items-center rounded-md py-3 px-3 text-sm font-medium text-neutral-500 hover:bg-gray-50 hover:text-neutral-900 lg:px-[14px] [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:hover:text-neutral-900",+ "group flex items-center rounded-md py-2 px-3 text-sm font-medium text-gray-600 hover:bg-gray-100 lg:px-[14px] [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:hover:text-neutral-900",isChild- ? "[&[aria-current='page']]:text-brand-900 hidden pl-16 lg:flex lg:pl-11"+ ? "[&[aria-current='page']]:text-brand-900 hidden pl-16 lg:flex lg:pl-11 [&[aria-current='page']]:bg-transparent": "[&[aria-current='page']]:text-brand-900 ")}aria-current={current ? "page" : undefined}>{item.icon && (<item.icon- className="h-4 w-4 flex-shrink-0 text-neutral-400 group-hover:text-neutral-500 ltr:mr-3 rtl:ml-3 md:h-5 md:w-5 [&[aria-current='page']]:text-inherit"+ className="h-4 w-4 flex-shrink-0 text-gray-500 ltr:mr-3 rtl:ml-3 [&[aria-current='page']]:text-inherit"aria-hidden="true"aria-current={current ? "page" : undefined}/>@@ -599,9 +599,7 @@ function SideBar() {<Logo small /></a></Link>- <div className="px-4">- <KBarTrigger />- </div>+ <KBarTrigger /></div>{/* logo icon for tablet */}<Link href="/event-types">