From a36f2aa8711f4fa9a413cf475efa64a54a704b85 Mon Sep 17 00:00:00 2001 From: "GitStart-Cal.com" <121884634+gitstart-calcom@users.noreply.github.com> Date: Wed, 5 Jul 2023 07:41:29 +0800 Subject: [PATCH] fix: Spacing issues on "settings" Button navbar skeleton (fix-settings-skeleton) (#9663) Co-authored-by: gitstart-calcom --- apps/web/pages/settings/my-account/profile.tsx | 4 ++-- packages/features/settings/layouts/SettingsLayout.tsx | 8 +++++--- packages/features/shell/Shell.tsx | 2 +- packages/ui/components/skeleton/index.tsx | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/web/pages/settings/my-account/profile.tsx b/apps/web/pages/settings/my-account/profile.tsx index 2902938cec..584fb8913b 100644 --- a/apps/web/pages/settings/my-account/profile.tsx +++ b/apps/web/pages/settings/my-account/profile.tsx @@ -48,9 +48,9 @@ const SkeletonLoader = ({ title, description }: { title: string; description: st return ( -
+
- +
diff --git a/packages/features/settings/layouts/SettingsLayout.tsx b/packages/features/settings/layouts/SettingsLayout.tsx index 58a405d879..2c5a583ff3 100644 --- a/packages/features/settings/layouts/SettingsLayout.tsx +++ b/packages/features/settings/layouts/SettingsLayout.tsx @@ -256,7 +256,9 @@ const SettingsSidebarContainer = ({ isExternalLink={child.isExternalLink} href={child.href || "/"} textClassNames="px-3 text-emphasis font-medium text-sm" - className={`my-0.5 h-7 ${tab.children && index === tab.children?.length - 1 && "!mb-3"}`} + className={`my-0.5 me-5 h-7 ${ + tab.children && index === tab.children?.length - 1 && "!mb-3" + }`} disableChevron /> ))} @@ -512,12 +514,12 @@ function ShellHeader() { {t(meta.title)} ) : ( -
+
)} {meta.description && isLocaleReady ? (

{t(meta.description)}

) : ( -
+
)}
{meta.CTA}
diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx index 12298c008e..3756282be8 100644 --- a/packages/features/shell/Shell.tsx +++ b/packages/features/shell/Shell.tsx @@ -915,7 +915,7 @@ function SideBar({ bannersHeight, user }: SideBarProps) {