diff options
author | Lewis Crichton <lewi@lewisakura.moe> | 2023-03-01 20:35:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 21:35:08 +0100 |
commit | e6ccb751a04ce383c998d717196340c1b4b1da5f (patch) | |
tree | a0c82ba89fc1a1e41250cb2791b987001f42b175 /src/plugins/viewRaw.tsx | |
parent | dfc7a15083188f07dd9921155dda8139c43a32eb (diff) | |
download | Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.tar.gz Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.tar.bz2 Vencord-e6ccb751a04ce383c998d717196340c1b4b1da5f.zip |
Fix for latest Discord Update (#550)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: Vendicated <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/viewRaw.tsx')
-rw-r--r-- | src/plugins/viewRaw.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/viewRaw.tsx b/src/plugins/viewRaw.tsx index 5105203..e0e3c9b 100644 --- a/src/plugins/viewRaw.tsx +++ b/src/plugins/viewRaw.tsx @@ -20,10 +20,11 @@ import { addButton, removeButton } from "@api/MessagePopover"; import ErrorBoundary from "@components/ErrorBoundary"; import { Flex } from "@components/Flex"; import { Devs } from "@utils/constants"; +import { Margins } from "@utils/margins"; import { copyWithToast } from "@utils/misc"; import { closeModal, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalRoot, ModalSize, openModal } from "@utils/modal"; import definePlugin from "@utils/types"; -import { Button, ChannelStore, Forms, Margins, Parser, Text } from "@webpack/common"; +import { Button, ChannelStore, Forms, Parser, Text } from "@webpack/common"; import { Message } from "discord-types/general"; @@ -98,7 +99,7 @@ function openViewRawModal(msg: Message) { <> <Forms.FormTitle tag="h5">Content</Forms.FormTitle> <CodeBlock content={msg.content} lang="" /> - <Forms.FormDivider className={Margins.marginBottom20} /> + <Forms.FormDivider className={Margins.bottom20} /> </> )} |