Skip to content

Commit

Permalink
added margins to admonition paragraphs (#262)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin Annamalai <[email protected]>
Co-authored-by: Ashwin Annamalai <[email protected]>
  • Loading branch information
IgnorantSapient and Ashwin Annamalai authored Jan 15, 2024
1 parent d7f62c1 commit 1aef269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/Admonition/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function Admonition(props: Props) {
return (
<div
className={clsx(
"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",
"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"
Expand Down

0 comments on commit 1aef269

Please sign in to comment.