diff --git a/src/app.tsx b/src/app.tsx
index fe91b98f..48b75251 100644
--- a/src/app.tsx
+++ b/src/app.tsx
@@ -83,8 +83,8 @@ const BoardLayout = () => {
{isMobile
? (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
<>
-
+
>
)
: (subplebbitAddress || isInAllView || isInModView || isInSubscriptionsView || pendingPost?.subplebbitAddress) && (
diff --git a/src/components/post-form/post-form.module.css b/src/components/post-form/post-form.module.css
index 6bf1341c..a16a7855 100644
--- a/src/components/post-form/post-form.module.css
+++ b/src/components/post-form/post-form.module.css
@@ -139,7 +139,7 @@
}
.postFormMobile {
- margin-bottom: 6px;
+ margin-bottom: 8px;
}
.postFormTable {
diff --git a/src/components/post-form/post-form.tsx b/src/components/post-form/post-form.tsx
index 529bc61c..8e05bc32 100644
--- a/src/components/post-form/post-form.tsx
+++ b/src/components/post-form/post-form.tsx
@@ -8,7 +8,7 @@ import useSubplebbitsPagesStore from '@plebbit/plebbit-react-hooks/dist/stores/s
import { getHasThumbnail, getLinkMediaInfo } from '../../lib/utils/media-utils';
import { formatMarkdown } from '../../lib/utils/post-utils';
import { isValidURL } from '../../lib/utils/url-utils';
-import { isAllView, isModView, isPostPageView, isSubscriptionsView } from '../../lib/utils/view-utils';
+import { isAllView, isCatalogView, isModView, isPostPageView, isSubscriptionsView } from '../../lib/utils/view-utils';
import { useDefaultSubplebbits } from '../../hooks/use-default-subplebbits';
import { useResolvedSubplebbitAddress } from '../../hooks/use-resolved-subplebbit-address';
import useFetchGifFirstFrame from '../../hooks/use-fetch-gif-first-frame';
@@ -361,6 +361,7 @@ const PostForm = () => {
const isInAllView = isAllView(location.pathname);
const isInModView = isModView(location.pathname);
const isInSubscriptionsView = isSubscriptionsView(location.pathname, params);
+ const isInCatalogView = isCatalogView(location.pathname, params);
const commentCid = params?.commentCid;
const post = useSubplebbitsPagesStore((state) => state.comments[commentCid as string]);
@@ -424,6 +425,7 @@ const PostForm = () => {
{showForm && setShowForm(false)} postCid={postCid} />}
>
)}
+ {isInCatalogView &&
}
>
);