mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-27 23:56:59 +00:00
fix: improve dark mode color
This commit is contained in:
1 parent
3fcbe054b0
commit
99bce5c4ef
5 files changed
+14
-11
No files matched your search
@@ -13,7 +13,7 @@ const errorMap = new Map<string | null | DecryptErrorType, string>([
|
||||
|
||||
const ERROR_TEMPLATE = `解密错误:{{summary}}
|
||||
|
||||
详细信息:
|
||||
详细错误信息:
|
||||
\`\`\`text
|
||||
{{error}}
|
||||
\`\`\`
|
||||
@@ -46,7 +46,7 @@ export function FileError({ error, code }: FileErrorProps) {
|
||||
{error && (
|
||||
<div className="collapse border-error border w-full text-left my-2 py-0">
|
||||
<input className="[&&&]:py-2 [&&&]:min-h-[1.5rem]" type="checkbox" />
|
||||
<div className="collapse-title font-semibold text-center [&&&]:min-h-[1.5rem] [&&&]:py-2">详细信息</div>
|
||||
<div className="collapse-title font-semibold text-center [&&&]:min-h-[1.5rem] [&&&]:py-2">详细错误信息</div>
|
||||
<div className="collapse-content text-sm overflow-hidden">
|
||||
<pre className="overflow-x-auto w-full">{error}</pre>
|
||||
<p className="mt-2 text-center">
|
||||
|
||||
Reference in new issue
Block a user