diff --git a/src/components/settings/roles/PermissionSelect.tsx b/src/components/settings/roles/PermissionSelect.tsx index 0afc8c08..7de9ac23 100644 --- a/src/components/settings/roles/PermissionSelect.tsx +++ b/src/components/settings/roles/PermissionSelect.tsx @@ -24,7 +24,6 @@ const PermissionEntry = styled.label<{ disabled?: boolean }>` width: 100%; margin: 8px 0; display: flex; - font-size: 1.1em; align-items: center; .title { diff --git a/src/lib/ErrorBoundary.tsx b/src/lib/ErrorBoundary.tsx index f755b788..4f430517 100644 --- a/src/lib/ErrorBoundary.tsx +++ b/src/lib/ErrorBoundary.tsx @@ -5,19 +5,33 @@ import styled from "styled-components/macro"; import { useEffect, useErrorBoundary, useState } from "preact/hooks"; +import { Button } from "@revoltchat/ui"; + import { GIT_REVISION } from "../revision"; const CrashContainer = styled.div` + // defined for the Button component + --error: #ed4245; + --primary-background: #2d2d2d; + height: 100%; padding: 12px; - background: black; + background: #191919; color: white; h3 { margin: 0; margin-bottom: 12px; } + + code { + font-size: 1.1em; + } + + .buttonDivider { + margin: 8px; + } `; interface Props { @@ -65,15 +79,17 @@ export default function ErrorBoundary({ children, section }: Props) { {section === "client" ? ( <>
{error?.stack}
diff --git a/src/pages/developer/Developer.tsx b/src/pages/developer/Developer.tsx
index aeeff64e..3c6009db 100644
--- a/src/pages/developer/Developer.tsx
+++ b/src/pages/developer/Developer.tsx
@@ -45,7 +45,7 @@ export default function Developer() {