diff --git a/client/components/preview/index.tsx b/client/components/preview/index.tsx
index 1dc24a2e..ac72f4fa 100644
--- a/client/components/preview/index.tsx
+++ b/client/components/preview/index.tsx
@@ -47,7 +47,7 @@ const MarkdownPreview = ({ height = 500, fileId, content, title }: Props) => {
fetchPost()
}, [content, fileId, title])
return (<>
- {isLoading ?
Loading...
: Loading...
: }
>)
diff --git a/client/components/preview/preview.module.css b/client/components/preview/preview.module.css
index bfd181da..396ef98c 100644
--- a/client/components/preview/preview.module.css
+++ b/client/components/preview/preview.module.css
@@ -75,19 +75,10 @@
content: "";
}
-.markdownPreview ul ul {
- list-style: circle;
-}
-
-.markdownPreview ul ul li {
- margin-left: var(--gap);
-}
-
.markdownPreview code {
border-radius: 3px;
white-space: pre-wrap;
word-wrap: break-word;
- padding: 2px 4px;
}
.markdownPreview code::before,
diff --git a/client/lib/render-markdown.tsx b/client/lib/render-markdown.tsx
index b92569e4..0147b03b 100644
--- a/client/lib/render-markdown.tsx
+++ b/client/lib/render-markdown.tsx
@@ -1,6 +1,7 @@
import { marked } from 'marked'
-import Highlight, { defaultProps, Language } from 'prism-react-renderer'
+import Highlight, { defaultProps, Language, } from 'prism-react-renderer'
import { renderToStaticMarkup } from 'react-dom/server'
+
//@ts-ignore
delete defaultProps.theme
// import linkStyles from '../components/link/link.module.css'
diff --git a/client/styles/markdown.css b/client/styles/markdown.css
index fb3fc107..ede485e2 100644
--- a/client/styles/markdown.css
+++ b/client/styles/markdown.css
@@ -8,10 +8,6 @@ article > * + * {
margin-top: 2em;
}
-article p {
- color: var(--article-color);
-}
-
article img {
max-width: 100%;
/* width: var(--main-content); */