remove all shadows

This commit is contained in:
spencerwooo
2021-12-17 14:35:24 +08:00
parent 476f24164d
commit a27cc18951
12 changed files with 25 additions and 30 deletions
+3 -3
View File
@@ -18,14 +18,14 @@ const CodePreview: FunctionComponent<{ file: any }> = ({ file }) => {
if (error) {
return (
<div className="dark:bg-gray-900 p-3 bg-white rounded shadow">
<div className="dark:bg-gray-900 p-3 bg-white rounded">
<FourOhFour errorMsg={error.message} />
</div>
)
}
if (!data) {
return (
<div className="dark:bg-gray-900 p-3 bg-white rounded shadow">
<div className="dark:bg-gray-900 p-3 bg-white rounded">
<Loading loadingText="Loading file content..." />
</div>
)
@@ -33,7 +33,7 @@ const CodePreview: FunctionComponent<{ file: any }> = ({ file }) => {
return (
<>
<div className="markdown-body p-3 bg-gray-900 rounded shadow">
<div className="markdown-body p-3 bg-gray-900 rounded">
<pre className={`language-${getExtension(file.name)}`}>
<code>{data}</code>
</pre>