Skip to content

Commit 29c7ed5

Browse files
committed
fix: 修复收件箱notfound的图片样式问题
1 parent 43a7d47 commit 29c7ed5

File tree

1 file changed

+5
-1
lines changed
  • client/web/src/routes/Main/Content/Inbox/Content

1 file changed

+5
-1
lines changed

client/web/src/routes/Main/Content/Inbox/Content/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ export const InboxContent: React.FC = React.memo((props) => {
2121
useInboxAck(inboxItemId ?? '');
2222

2323
if (!inboxItem) {
24-
return <NotFound message={t('没有找到该记录')} />;
24+
return (
25+
<div className="w-full">
26+
<NotFound message={t('没有找到该记录')} />
27+
</div>
28+
);
2529
}
2630

2731
if (inboxItem.type === 'message') {

0 commit comments

Comments
 (0)