From 3be5ea34a450799bc05ec5ecae820779a1003285 Mon Sep 17 00:00:00 2001 From: boojack Date: Wed, 22 Jun 2022 19:52:06 +0800 Subject: [PATCH] chore: update popup button styles --- web/public/icons/close.svg | 2 +- web/public/icons/edit.svg | 2 +- web/public/icons/share.svg | 2 +- web/src/components/Memo.tsx | 12 ++++++------ web/src/components/Settings/MyAccountSection.tsx | 2 +- web/src/less/memo.less | 2 +- web/src/less/setting-dialog.less | 7 +++---- web/src/less/settings/member-section.less | 6 +++--- web/src/less/settings/my-account-section.less | 12 ++++++------ web/src/less/shortcut-list.less | 6 +----- 10 files changed, 24 insertions(+), 29 deletions(-) diff --git a/web/public/icons/close.svg b/web/public/icons/close.svg index bcd7b76a..bdebbc33 100644 --- a/web/public/icons/close.svg +++ b/web/public/icons/close.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/public/icons/edit.svg b/web/public/icons/edit.svg index 156eeeca..82c9eeb0 100644 --- a/web/public/icons/edit.svg +++ b/web/public/icons/edit.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/public/icons/share.svg b/web/public/icons/share.svg index d875437f..e1f86f26 100644 --- a/web/public/icons/share.svg +++ b/web/public/icons/share.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web/src/components/Memo.tsx b/web/src/components/Memo.tsx index 027bdefc..4f4f5e5a 100644 --- a/web/src/components/Memo.tsx +++ b/web/src/components/Memo.tsx @@ -144,17 +144,17 @@ const Memo: React.FC = (props: Props) => {
-
- - Share +
+ + {memo.pinned ? "Unpin" : "Pin"}
Edit
-
- - {memo.pinned ? "Unpin" : "Pin"} +
+ + Share
diff --git a/web/src/components/Settings/MyAccountSection.tsx b/web/src/components/Settings/MyAccountSection.tsx index 55f842fc..b9bace93 100644 --- a/web/src/components/Settings/MyAccountSection.tsx +++ b/web/src/components/Settings/MyAccountSection.tsx @@ -71,7 +71,7 @@ const MyAccountSection: React.FC = () => {