We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5709f5 commit 7176aa1Copy full SHA for 7176aa1
src/server/og/template.tsx
@@ -86,14 +86,14 @@ export function buildOgTree(props: TemplateProps): ReactElement {
86
</span>
87
) : null}
88
</div>
89
- {props.pitch ? (
+ {!props.docTitle && !props.description && props.pitch ? (
90
<div
91
style={{
92
fontSize: 28,
93
fontWeight: 500,
94
lineHeight: 1.3,
95
color: props.accentColor,
96
- marginBottom: props.docTitle || props.description ? 22 : 0,
+ marginBottom: 0,
97
}}
98
>
99
{props.pitch}
0 commit comments