Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/MDX/SimpleCallout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import * as React from 'react';
import cn from 'classnames';
import {H3} from './Heading';
import {H2} from './Heading';

interface SimpleCalloutProps {
title: string;
Expand All @@ -25,11 +25,11 @@ function SimpleCallout({title, children, className}: SimpleCalloutProps) {
'p-6 xl:p-8 pb-4 xl:pb-6 bg-card dark:bg-card-dark rounded-2xl shadow-inner-border dark:shadow-inner-border-dark text-base text-secondary dark:text-secondary-dark my-8',
className
)}>
<H3
<H2
className="text-primary dark:text-primary-dark mt-0 mb-3 leading-tight"
isPageAnchor={false}>
{title}
</H3>
</H2>
{children}
</div>
);
Expand Down
Loading