From c8e3f6494a8dbb66cd7d3525abc618858bab82aa Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Sun, 29 Jan 2023 15:08:31 +0530 Subject: [PATCH] fix: back button and heading size (#6768) Signed-off-by: Udit Takkar --- apps/web/components/apps/App.tsx | 2 +- apps/web/pages/apps/categories/[category].tsx | 4 ++-- packages/features/shell/Shell.tsx | 12 +++++++++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/apps/web/components/apps/App.tsx b/apps/web/components/apps/App.tsx index 1260313028..1af16c2ee5 100644 --- a/apps/web/components/apps/App.tsx +++ b/apps/web/components/apps/App.tsx @@ -331,7 +331,7 @@ export default function App(props: { const { t } = useLocale(); return ( - + )} - } - large> + }>
{apps.map((app) => { diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx index eab4287ce3..ad55159426 100644 --- a/packages/features/shell/Shell.tsx +++ b/packages/features/shell/Shell.tsx @@ -188,6 +188,7 @@ type LayoutProps = { withoutSeo?: boolean; // Gives the ability to include actions to the right of the heading actions?: JSX.Element; + smallHeading?: boolean; }; const CustomBrandingContainer = () => { @@ -785,7 +786,8 @@ export function ShellMain(props: LayoutProps) { const { isLocaleReady } = useLocale(); return ( <> -
+
{!!props.backPath && (