From 79f57c74a2fbcecfae082439afcbe7fe73554c3e Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 2 Dec 2024 17:44:10 +0530 Subject: [PATCH] feat: remove margin from first heading --- tailwind.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tailwind.config.js b/tailwind.config.js index 1293ba52c..7140c6b2b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -51,16 +51,25 @@ const tailwindConfig = { color: 'rgb(var(--slate-12))', fontWeight: '700', fontSize: '1.25rem', + '&:first-child': { + marginTop: '0', + }, }, h2: { color: 'rgb(var(--slate-12))', fontWeight: '600', fontSize: '1rem', + '&:first-child': { + marginTop: '0', + }, }, h3: { color: 'rgb(var(--slate-12))', fontWeight: '500', fontSize: '1rem', + '&:first-child': { + marginTop: '0', + }, }, hr: { marginTop: '1.5em',