tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
prev fix broke doc pages, fixed that lol
cozylittle.house
4 months ago
5186e661
40fc2814
+8
-2
1 changed file
expand all
collapse all
unified
split
components
Pages
Page.tsx
+8
-2
components/Pages/Page.tsx
···
115
115
${props.isFocused ? "shadow-md border-border" : "border-border-light"}`
116
116
}
117
117
${props.cardBorderHidden && "sm:h-[calc(100%+48px)] h-[calc(100%+20px)] sm:-my-6 -my-3 sm:pt-6 pt-3"}
118
118
-
${props.fullPageScroll && "max-w-full"}
118
118
+
${props.fullPageScroll && "max-w-full "}
119
119
${props.pageType === "doc" && !props.fullPageScroll && "w-[10000px] sm:mx-0 max-w-[var(--page-width-units)]"}
120
120
${
121
121
props.pageType === "canvas" &&
···
127
127
128
128
`}
129
129
>
130
130
-
{props.children}
130
130
+
<div
131
131
+
className={`postPageContent
132
132
+
${props.fullPageScroll ? "sm:max-w-[var(--page-width-units)] mx-auto" : "w-full h-full"}
133
133
+
`}
134
134
+
>
135
135
+
{props.children}
136
136
+
</div>
131
137
</div>
132
138
{props.pageOptions}
133
139
</div>