Skip to content

Commit

Permalink
style: set nav padding and create link interval (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca authored Oct 31, 2023
1 parent 62bd5e6 commit c889b0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .dumi/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@
--color-dark: rgba(21, 35, 55, 1);
--color-circle: rgba(247, 188, 219, 1);
}

.dumi-default-navbar {
padding: 0 10px !important;
}
2 changes: 1 addition & 1 deletion .dumi/theme/layouts/GlobalLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const GlobalLayout: React.FC = () => {
createLink('Github', 'https://github.com/OpenSPG/openspg', 1);
const result = createLink('OpenKG', 'http://openkg.cn/', 5);
if (result) clearInterval(createLinkIntervalRef.current);
}, 500);
}, 50);
}, []);

useEffect(() => {
Expand Down

0 comments on commit c889b0f

Please sign in to comment.