Commit fb57570e by HoMeTown

fix: 修复样式

parent c0bbcc7d
...@@ -14,7 +14,7 @@ export const MarkdownDetail: React.FC<MarkdownDetailProps> = memo(({ children }) ...@@ -14,7 +14,7 @@ export const MarkdownDetail: React.FC<MarkdownDetailProps> = memo(({ children })
<ReactMarkdown <ReactMarkdown
rehypePlugins={[rehypeRaw, rehypeSanitize]} rehypePlugins={[rehypeRaw, rehypeSanitize]}
remarkPlugins={[remarkGfm]} remarkPlugins={[remarkGfm]}
className="markdown-body !bg-[#fff] flex flex-col gap-[12px] text-[#27353C] text-[15px]" className="markdown-body !bg-[#fff] flex flex-col text-[#27353C] text-[15px]"
components={{ components={{
img: ({ ...data }): JSX.Element => ( img: ({ ...data }): JSX.Element => (
<PhotoProvider maskOpacity={0.1} bannerVisible={false}> <PhotoProvider maskOpacity={0.1} bannerVisible={false}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment