{/*
this div is the scrolling container that wraps only the contents div.
it needs to be a separate div so that the user can scroll from anywhere on the page if there isn't a card border
*/}
{props.children}
{props.pageType === "doc" &&
}
{props.pageOptions}
{props.footnoteSideColumn}
);
};
const PageContent = (props: { entityID: string; first?: boolean }) => {
let pageType = useEntity(props.entityID, "page/type")?.data.value || "doc";
if (pageType === "doc") return