From 0fea2a86da7b991c986e891d8db181ba424a55c3 Mon Sep 17 00:00:00 2001 From: email Date: Thu, 24 Mar 2022 21:39:58 +0800 Subject: [PATCH] chore: update styles --- web/src/components/DeletedMemo.tsx | 19 ++++-------- web/src/components/MyAccountSection.tsx | 4 +-- web/src/less/memo.less | 41 ++++++++----------------- web/src/less/my-account-section.less | 13 ++++---- web/src/less/setting-dialog.less | 4 +-- web/src/less/shortcut-list.less | 4 +-- web/src/less/toast.less | 13 ++------ web/tailwind.config.js | 1 + 8 files changed, 34 insertions(+), 65 deletions(-) diff --git a/web/src/components/DeletedMemo.tsx b/web/src/components/DeletedMemo.tsx index 8dcc1c9e..a7cac670 100644 --- a/web/src/components/DeletedMemo.tsx +++ b/web/src/components/DeletedMemo.tsx @@ -53,23 +53,16 @@ const DeletedMemo: React.FC = (props: Props) => { }; return ( -
+
Deleted at {memo.deletedAtStr}
- - + + Restore + + + {showConfirmDeleteBtn ? "Delete!" : "Delete"} -
-
- - Restore - - - {showConfirmDeleteBtn ? "Delete!" : "Delete"} - -
-
diff --git a/web/src/components/MyAccountSection.tsx b/web/src/components/MyAccountSection.tsx index 7dfc74be..802747cb 100644 --- a/web/src/components/MyAccountSection.tsx +++ b/web/src/components/MyAccountSection.tsx @@ -82,11 +82,11 @@ const MyAccountSection: React.FC = () => { <>

Account Information

-