Skip to content

Commit

Permalink
Added underline to distinguish hyperlinks inside the admonitions comp…
Browse files Browse the repository at this point in the history
…onent (#258)

Signed-off-by: Ashwin Annamalai <[email protected]>
  • Loading branch information
IgnorantSapient authored Jan 15, 2024
1 parent ea06c3c commit 76c6169
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",
"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",
typeConfig.className,
)}
role="alert"
Expand Down

0 comments on commit 76c6169

Please sign in to comment.