diff --git a/src/UnexpectedError.tsx b/src/UnexpectedError.tsx index 4177758..45d8fc0 100644 --- a/src/UnexpectedError.tsx +++ b/src/UnexpectedError.tsx @@ -42,6 +42,29 @@ const UnexpectedError: Component<{ error?: any }> = (props) => { calc(var(--safe-area-inset-bottom) + 20px) calc(var(--safe-area-inset-left) + 20px); } + + details { + max-width: 100vw; + max-width: 100dvw; + overflow: auto; + + & * { + user-select: all; + } + + + summary { + position: sticky; + left: 0; + top: 0; + user-select: none; + } + } + + .actions { + margin-top: 20px; + margin-bottom: 20px; + } `; return ( @@ -52,8 +75,11 @@ const UnexpectedError: Component<{ error?: any }> = (props) => { You can restart the app to see if this guy is gone. If you meet this guy repeatly, please report to us.

-
-
@@ -61,7 +87,10 @@ const UnexpectedError: Component<{ error?: any }> = (props) => { {errorMsg.loading ? "Generating " : " "}Technical Infomation -
{errorMsg()}
+
+          On: {window.location.href} 
+ {errorMsg()} +
);