style: overlay scroller

This commit is contained in:
jialin
2025-04-28 10:05:06 +08:00
parent 838e0f9910
commit 4b748ee43a
18 changed files with 144 additions and 149 deletions
@@ -33,10 +33,7 @@ const CodeViewer = (props: any) => {
);
};
const FullMarkdown: React.FC<FullMarkdownProps> = ({
content,
theme = 'light'
}) => {
const FullMarkdown: React.FC<FullMarkdownProps> = ({ content, theme }) => {
const escapedContent = useMemo(() => {
return escapeMhchem(escapeBrackets(escapeDollarNumber(content)));
}, [content]);
@@ -1,5 +1,4 @@
.markdown-viewer {
font-family: var(--font-family) !important;
word-break: break-word;
font-size: var(--font-size-base);