[CAL-1125] Fix app detail page heading size (#7257)

* [CAL-1125] Fix app detail page heading size

* [CAL-1125] Fix margin on back button in shell

* [CAL-1125] Fix shell-margin for mobile

---------

Co-authored-by: Levent Deniz <[email protected]>
This commit is contained in:
Levent DenizandLevent Deniz authored and GitHub committed 2023-02-23 17:19:52 -07:00
1 parent 0815ab715b
commit 4fb0852505
2 files changed
+12 -5

No files matched your search

+6 -3
View File
@@ -303,6 +303,11 @@ const Component = ({
);
};
const ShellHeading = () => {
const { t } = useLocale();
return <span className="block py-2">{t("app_store")}</span>;
};
export default function App(props: {
name: string;
description: AppType["description"];
@@ -328,10 +333,8 @@ export default function App(props: {
images?: string[];
isTemplate?: boolean;
}) {
const { t } = useLocale();
return (
<Shell smallHeading isPublic heading={t("app_store")} backPath="/apps" withoutSeo>
<Shell smallHeading isPublic heading={<ShellHeading />} backPath="/apps" withoutSeo>
<HeadSeo
title={props.name}
description={props.description}