diff --git a/app/lish/[did]/[publication]/[rkey]/CanvasPage.tsx b/app/lish/[did]/[publication]/[rkey]/CanvasPage.tsx index 5cc40fdb..f004f333 100644 --- a/app/lish/[did]/[publication]/[rkey]/CanvasPage.tsx +++ b/app/lish/[did]/[publication]/[rkey]/CanvasPage.tsx @@ -202,7 +202,7 @@ const CanvasMetadata = (props: { commentsCount: number | undefined; }) => { return ( -
+
- +
@@ -158,8 +159,7 @@ const CanvasMetadata = (props: { isSubpage: boolean | undefined }) => { let showComments = pubRecord.preferences?.showComments; return ( -
- {/*ONLY IF SHOW COMMENTS PREF IS ON*/} +
{showComments && (
— diff --git a/components/Pages/Page.tsx b/components/Pages/Page.tsx index 9b05df7a..ffe2421f 100644 --- a/components/Pages/Page.tsx +++ b/components/Pages/Page.tsx @@ -99,7 +99,6 @@ export const PageWrapper = (props: { className={` pageScrollWrapper grow - shrink-0 snap-center overflow-y-scroll ${ @@ -115,7 +114,7 @@ export const PageWrapper = (props: { ${ props.pageType === "canvas" && !props.fullPageScroll && - "max-w-[100vw] sm:max-w-[calc(100vw-128px)] lg:max-w-fit lg:w-[calc(var(--page-width-units)*2 + 24px))]" + "max-w-[var(--page-width-units)] sm:max-w-[calc(100vw-128px)] lg:max-w-fit lg:w-[calc(var(--page-width-units)*2 + 24px))]" } `} @@ -126,7 +125,6 @@ export const PageWrapper = (props: { `} > {props.children} -
{props.pageOptions} @@ -203,6 +201,7 @@ const DocContent = (props: { entityID: string }) => { /> ) : null} +
{/* we handle page bg in this sepate div so that we can apply an opacity the background image without affecting the opacity of the rest of the page */}