From 8ea0615600e8bb77a4503fce285a8b900ff4cdb5 Mon Sep 17 00:00:00 2001 From: Snazzah <7025343+Snazzah@users.noreply.github.com> Date: Tue, 31 Aug 2021 04:50:48 +0000 Subject: [PATCH] update strings and style --- src/pages/settings/panes/MyBots.tsx | 6 +++--- src/pages/settings/panes/Panes.module.scss | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/settings/panes/MyBots.tsx b/src/pages/settings/panes/MyBots.tsx index 0c8cc734..c837fa7d 100644 --- a/src/pages/settings/panes/MyBots.tsx +++ b/src/pages/settings/panes/MyBots.tsx @@ -230,7 +230,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { } else setEditMode(true); }} contrast> - {editMode ? "Cancel" : "Edit"} + {editMode ? : "Edit"} {!editMode && ( @@ -298,7 +298,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) { {editMode && ( <> )} diff --git a/src/pages/settings/panes/Panes.module.scss b/src/pages/settings/panes/Panes.module.scss index de65bde3..545e9997 100644 --- a/src/pages/settings/panes/Panes.module.scss +++ b/src/pages/settings/panes/Panes.module.scss @@ -532,6 +532,7 @@ border-radius: var(--border-radius); h5 { margin-bottom: 1em } + h3 { margin-bottom: 0 } } .botSection {