Skip to content

Commit

Permalink
chatgpt spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsimper committed Nov 30, 2024
1 parent 3ad7f22 commit 58ddc25
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pages/posts/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ require('prismjs/components/prism-typescript')
require('prismjs/components/prism-jsx')

export const components = {
h1: (props) => <h1 className="text-3xl py-2" {...props} />,
h2: (props) => <h2 className="text-2xl py-2" {...props} />,
h3: (props) => <h3 className="text-xl py-2" {...props} />,
p: (props) => <p className="pb-5" {...props} />,
h1: (props) => <h1 className="text-3xl mt-8 mb-4" {...props} />,
h2: (props) => <h2 className="text-2xl mt-6 mb-3" {...props} />,
h3: (props) => <h3 className="text-xl mt-4 mb-2" {...props} />,
p: (props) => <p className="mb-4" {...props} />,
a: (props) => <a className="text-purple-600 hover:underline" {...props} />,
pre: (props) => <pre className="overflow-auto pb-4" {...props} />,
ul: (props) => <ol className="pl-10 pb-4 list-disc" {...props} />,
ol: (props) => <ol className="pl-10 pb-4 list-decimal" {...props} />,
pre: (props) => <pre className="overflow-auto mb-4" {...props} />,
ul: (props) => <ul className="pl-6 mb-4 list-disc" {...props} />,
ol: (props) => <ol className="pl-6 mb-4 list-decimal" {...props} />,
Test: <div />,
}

Expand Down

0 comments on commit 58ddc25

Please sign in to comment.