fix markdown bg and text colors

This commit is contained in:
spencerwooo
2021-08-29 15:32:27 +01:00
parent 2b7b13a99f
commit e374d5ba61
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const TextPreview: FunctionComponent<{ file: any }> = ({ file }) => {
return (
<>
<div className="shadow bg-white dark:bg-gray-900 rounded p-3">
<div className="shadow bg-white dark:bg-gray-900 dark:text-gray-100 rounded p-3">
<pre className="p-0 md:p-3 overflow-scroll">{data}</pre>
</div>
<div className="mt-4">