diff options
-rw-r--r-- | src/components/OAuth2Button.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/OAuth2Button.tsx b/src/components/OAuth2Button.tsx index 61bcd99..b084571 100644 --- a/src/components/OAuth2Button.tsx +++ b/src/components/OAuth2Button.tsx @@ -36,7 +36,11 @@ const errorStyles = css` text-align: center; white-space: normal; box-sizing: border-box; - padding: 0 5rem; + + padding: 0 15rem; + @media (max-width: 750px) { + padding: 0 5rem; + } color: red; margin-top: 2.5rem; @@ -52,7 +56,7 @@ async function login(props: OAuth2ButtonProps, errorDialog: React.RefObject<HTML } // Propagate to sentry - const error = reason.Error.toJSON(); + const error = reason.Error; error["Custom Error Message"] = reason.Message; // Filter Discord code |