fix: Spacing issues on "settings" Button navbar skeleton (fix-settings-skeleton) (#9663)

Co-authored-by: gitstart-calcom <[email protected]>
This commit is contained in:
GitStart-Cal.comandgitstart-calcom authored and GitHub committed 2023-07-04 23:41:29 +00:00
1 parent 6d8a576f60
commit a36f2aa871
4 files changed
+9 -7

No files matched your search

@@ -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)}
</h1>
) : (
<div className="bg-emphasis mb-1 h-6 w-24 animate-pulse rounded-md" />
<div className="bg-emphasis mb-1 h-5 w-24 animate-pulse rounded-md" />
)}
{meta.description && isLocaleReady ? (
<p className="text-default text-sm ltr:mr-4 rtl:ml-4">{t(meta.description)}</p>
) : (
<div className="bg-emphasis mb-1 h-6 w-32 animate-pulse rounded-md" />
<div className="bg-emphasis h-5 w-32 animate-pulse rounded-md" />
)}
</div>
<div className="ms-auto flex-shrink-0">{meta.CTA}</div>