From 43969e23dd410fa24c7516957ff10a68d95ddfd8 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 12 Feb 2023 00:13:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dtopic=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=BF=87=E9=95=BF=E4=BC=9A=E5=AF=BC=E8=87=B4=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8C=89=E9=92=AE=E4=BD=8D=E7=BD=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/group/GroupTopicPanelRender.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/server/plugins/com.msgbyte.topic/web/plugins/com.msgbyte.topic/src/group/GroupTopicPanelRender.tsx b/server/plugins/com.msgbyte.topic/web/plugins/com.msgbyte.topic/src/group/GroupTopicPanelRender.tsx index 8584f528..3de90f26 100644 --- a/server/plugins/com.msgbyte.topic/web/plugins/com.msgbyte.topic/src/group/GroupTopicPanelRender.tsx +++ b/server/plugins/com.msgbyte.topic/web/plugins/com.msgbyte.topic/src/group/GroupTopicPanelRender.tsx @@ -33,6 +33,11 @@ const Root = styled(LoadingOnFirst)({ paddingTop: 80, }, + '.list': { + height: '100%', + overflow: 'auto', + }, + '.create-btn': { position: 'absolute', right: 20, @@ -146,7 +151,7 @@ const GroupTopicPanelRender: React.FC = React.memo(() => { return ( {Array.isArray(topicList) && topicList.length > 0 ? ( - <> +
{topicList.map((item, i) => ( ))} @@ -160,7 +165,7 @@ const GroupTopicPanelRender: React.FC = React.memo(() => { {Translate.noMore} )} - +
) : (