From 1aef269890f6bcd5b410fb99f8f22fa8531c141b Mon Sep 17 00:00:00 2001 From: Ashwin Annamalai <4549937+IgnorantSapient@users.noreply.github.com> Date: Mon, 15 Jan 2024 15:24:30 -0500 Subject: [PATCH] added margins to admonition paragraphs (#262) Signed-off-by: Ashwin Annamalai Co-authored-by: Ashwin Annamalai --- src/theme/Admonition/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/Admonition/index.tsx b/src/theme/Admonition/index.tsx index 38bb0d32..8a51b38c 100644 --- a/src/theme/Admonition/index.tsx +++ b/src/theme/Admonition/index.tsx @@ -120,7 +120,7 @@ export default function Admonition(props: Props) { return (
code]:font-bold [&_code]:text-base [&_code]:px-1.5 [&_a]:underline", + "flex flex-col py-2 px-3 not-prose border gap-1 [&+&]:mt-3 [&_a:hover]:text-gray-900 dark:[&_a:hover]:text-gray-50 [&_a>code]:font-bold [&_code]:text-base [&_code]:px-1.5 [&_a]:underline [&_p]:mb-2", typeConfig.className, )} role="alert"