From 15d967b1d2cd7d89d6fc0a34571cca627e3ef569 Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Fri, 24 Feb 2023 16:11:25 +0530 Subject: [PATCH] fix: mobile drawer z-index issue (#7353) --- .../features/settings/layouts/SettingsLayout.tsx | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/packages/features/settings/layouts/SettingsLayout.tsx b/packages/features/settings/layouts/SettingsLayout.tsx index 2cb65d8892..f6fec7936f 100644 --- a/packages/features/settings/layouts/SettingsLayout.tsx +++ b/packages/features/settings/layouts/SettingsLayout.tsx @@ -3,7 +3,8 @@ import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/r import { useSession } from "next-auth/react"; import Link from "next/link"; import { useRouter } from "next/router"; -import React, { ComponentProps, useEffect, useState } from "react"; +import type { ComponentProps } from "react"; +import React, { useEffect, useState } from "react"; import Shell from "@calcom/features/shell/Shell"; import { classNames } from "@calcom/lib"; @@ -11,15 +12,8 @@ import { HOSTED_CAL_FEATURES, WEBAPP_URL } from "@calcom/lib/constants"; import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { trpc } from "@calcom/trpc/react"; -import { - Badge, - Button, - ErrorBoundary, - VerticalTabItemProps, - VerticalTabItem, - Skeleton, - useMeta, -} from "@calcom/ui"; +import type { VerticalTabItemProps } from "@calcom/ui"; +import { Badge, Button, ErrorBoundary, VerticalTabItem, Skeleton, useMeta } from "@calcom/ui"; import { FiUser, FiKey, @@ -178,7 +172,7 @@ const SettingsSidebarContainer = ({ return (