From f474bf18d8532e3c116f9b1bf0c35cfcfbbc77ad Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 18 Nov 2024 09:55:09 +0800 Subject: [PATCH] chore: improve Contributors loading suspense style (#51663) --- .dumi/theme/slots/Content/Contributors.tsx | 5 +---- .dumi/theme/slots/Content/index.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.dumi/theme/slots/Content/Contributors.tsx b/.dumi/theme/slots/Content/Contributors.tsx index 9facb809dc..95747a47dd 100644 --- a/.dumi/theme/slots/Content/Contributors.tsx +++ b/.dumi/theme/slots/Content/Contributors.tsx @@ -8,9 +8,6 @@ import SiteContext from '../SiteContext'; import ContributorAvatar from './ContributorAvatar'; const useStyle = createStyles(({ token, css }) => ({ - contributorsList: css` - margin-top: 120px !important; - `, listMobile: css` margin: 1em 0 !important; `, @@ -50,7 +47,7 @@ const Contributors: React.FC = ({ filename }) => { } return ( -
+
{formatMessage({ id: 'app.content.contributors' })}
= ({ children }) => { juejinLink={meta.frontmatter.juejin_url} /> - }> - - +
+ }> + + +