mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-01-10 22:58:06 -05:00
fix: darkmode issuw with png image (#489)
This commit is contained in:
@@ -741,7 +741,8 @@ const REACT_MARKDOWN_CONFIG = (darkMode: boolean): CustomComponents => ({
|
||||
},
|
||||
img: ({ ...props }) =>
|
||||
createMarkdownElement("img", {
|
||||
className: "w-auto w-auto mx-auto rounded-lg object-cover",
|
||||
className:
|
||||
"w-auto w-auto mx-auto rounded-lg object-cover dark:bg-white dark:p-3",
|
||||
...props,
|
||||
}),
|
||||
"footnote-ref": ({ identifier, label }) => {
|
||||
|
||||
Reference in New Issue
Block a user