diff --git a/src/components/common/messaging/attachments/MessageReply.tsx b/src/components/common/messaging/attachments/MessageReply.tsx index 1714dd6d..1966785f 100644 --- a/src/components/common/messaging/attachments/MessageReply.tsx +++ b/src/components/common/messaging/attachments/MessageReply.tsx @@ -48,7 +48,7 @@ export const ReplyBase = styled.div<{ } .user { - gap: 4px; + gap: 6px; display: flex; flex-shrink: 0; font-weight: 600; @@ -92,9 +92,9 @@ export const ReplyBase = styled.div<{ pointer-events: none; } - > span { + /*> span > p { display: flex; - } + }*/ } > svg:first-child { diff --git a/src/pages/settings/panes/Account.tsx b/src/pages/settings/panes/Account.tsx index 818d8b76..9e8a5580 100644 --- a/src/pages/settings/panes/Account.tsx +++ b/src/pages/settings/panes/Account.tsx @@ -1,5 +1,5 @@ -import { At, Key } from "@styled-icons/boxicons-regular"; -import { Envelope, HelpCircle } from "@styled-icons/boxicons-solid"; +import { At, Key, Block } from "@styled-icons/boxicons-regular"; +import { Envelope, HelpCircle, Lock, Trash } from "@styled-icons/boxicons-solid"; import { observer } from "mobx-react-lite"; import { Link, useHistory } from "react-router-dom"; import { Profile } from "revolt-api/types/Users"; @@ -140,38 +140,68 @@ export const Account = observer(() => {

-
- Currently work in progress, see{" "} - - tracking issue here - - . -
- {/*
- */} - +
+
+ +
+ Currently not available +
+ Two-factor auth is currently work-in-progress, see{" "} + + tracking issue here + + . +
+
+ +

-
- {/* */} +
+ Disable your account. You won't be able to access it unless you log back in. +
+
+ + +
+ +
+ +
+ Delete your account, including all of your data. +
+
- +
+ {/* + + + */} +
diff --git a/src/pages/settings/panes/Panes.module.scss b/src/pages/settings/panes/Panes.module.scss index 5fa93ec4..de4486a8 100644 --- a/src/pages/settings/panes/Panes.module.scss +++ b/src/pages/settings/panes/Panes.module.scss @@ -56,10 +56,13 @@ .details { display: flex; - margin: 1em 0; + padding: 1em 0; gap: 10px; flex-direction: column; + /*border-top: 1px solid var(--secondary-header); + border-width: 100%;*/ + > div { gap: 12px; /*padding: 4px;*/ @@ -149,6 +152,40 @@ display: flex; gap: 12px; } + + .entrytest { + gap: 12px; + /* padding: 4px; */ + height: 54px; + padding: 8px 12px; + display: flex; + align-items: center; + flex-direction: row; + background: var(--secondary-header); + border-radius: 6px; + margin-bottom: 10px; + + > svg { + color: var(--error); + } + + .content { + display: flex; + flex-grow: 1; + flex-direction: column; + font-weight: 600; + font-size: 14px; + + .description { + font-size: 11px; + font-weight: 400; + + a:hover { + text-decoration: underline; + } + } + } + } } @media only screen and (max-width: 800px) { @@ -504,7 +541,7 @@ display: flex; flex-direction: column; margin-bottom: 1em; - gap: 10px; + gap: 8px; .entry { display: flex;