From 5b3c41ac6a93ec15d52dfd0d879a4d2f6ca37046 Mon Sep 17 00:00:00 2001 From: qu1ck Date: Sat, 15 Jul 2023 20:38:56 -0700 Subject: [PATCH] Fix dialog close button padding, fix typo Issue #48 --- src/components/mantinetheme.tsx | 7 +++++++ src/components/modals/edittorrent.tsx | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/mantinetheme.tsx b/src/components/mantinetheme.tsx index 4b96b36..e9b3ad4 100644 --- a/src/components/mantinetheme.tsx +++ b/src/components/mantinetheme.tsx @@ -58,6 +58,13 @@ const Theme: (colorScheme: ColorScheme) => MantineThemeOverride = (colorScheme) }, }, }, + Modal: { + styles: { + header: { + paddingRight: "0.5rem", + }, + }, + }, }, colors: { secondaryColorName: ["#dcfdff", "#b2f4fd", "#85ebf9", "#58e3f6", "#36d9f3", "#25c0d9", "#1696aa", "#066b7a", "#00404a", "#00171b"], diff --git a/src/components/modals/edittorrent.tsx b/src/components/modals/edittorrent.tsx index e3d4c00..51cead8 100644 --- a/src/components/modals/edittorrent.tsx +++ b/src/components/modals/edittorrent.tsx @@ -116,7 +116,7 @@ export function EditTorrent(props: ActionModalState) {