From 7326594b79b87086a2ca7d574546e8405825fe09 Mon Sep 17 00:00:00 2001 From: myf <> Date: Mon, 9 May 2022 17:42:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/locales/zh-CN.json | 5 +--- .../Board/components/BoardCard/BoardCard.tsx | 29 +++++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/public/locales/zh-CN.json b/public/locales/zh-CN.json index ce4b2ca..fb01df5 100644 --- a/public/locales/zh-CN.json +++ b/public/locales/zh-CN.json @@ -1127,9 +1127,6 @@ "capital pool": "资金池", "Unclaimed income": "待领取收益", "pledge": "质押", -<<<<<<< HEAD + "Invite": "邀请", "top": "置顶" -======= - "Invite": "邀请" ->>>>>>> dev } diff --git a/src/views/Board/components/BoardCard/BoardCard.tsx b/src/views/Board/components/BoardCard/BoardCard.tsx index 452ca0c..e7c2e01 100644 --- a/src/views/Board/components/BoardCard/BoardCard.tsx +++ b/src/views/Board/components/BoardCard/BoardCard.tsx @@ -85,6 +85,9 @@ const CardDiv = styled.div` flex-direction: column; justify-content: space-around; ` +const ContentDiv = styled.div` + padding: 0 20px; +` interface NodeCardProps { board: any @@ -123,18 +126,20 @@ const BoardCard: React.FC = ({ board, account }) => { return ( - {account && ( -
- - {board.userData?.name === 'Board' ? ( - - ) : ( - '' - )} - -
- )} - + + {account && ( +
+ + {board.userData?.name === 'Board' ? ( + + ) : ( + '' + )} + +
+ )} + +
{/* setShowExpandableSection(!showExpandableSection)}