From 36ecafb0083f158448b5c21d812835c9be034bd0 Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 22 Jun 2023 23:12:08 +0800 Subject: [PATCH] fix: first paragraph style Signed-off-by: Innei --- src/app/notes/[id]/page.module.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app/notes/[id]/page.module.css b/src/app/notes/[id]/page.module.css index bdd0af5a68..5ae81d409d 100644 --- a/src/app/notes/[id]/page.module.css +++ b/src/app/notes/[id]/page.module.css @@ -1,5 +1,9 @@ .with-indent { :global { + .paragraph:first-child { + margin-bottom: 4rem; + } + ul .indent, .paragraph .indent { border-bottom: 1px solid; @@ -24,6 +28,10 @@ padding: 10px 0; margin: 0; } + + .paragraph:first-child { + margin-bottom: 0; + } } margin-left: calc(-3em + 2px);