fix: left sidebar style fixes (#3950)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
Peng Xiao
2023-08-29 00:04:22 +08:00
committed by GitHub
parent e92d27549a
commit d62935935f
15 changed files with 235 additions and 99 deletions

View File

@@ -27,7 +27,6 @@ export const StyledTextContent = styled('div')(() => {
return {
margin: 'auto',
width: '425px',
fontFamily: 'Avenir Next',
fontStyle: 'normal',
fontWeight: '400',
fontSize: '18px',

View File

@@ -26,7 +26,6 @@ export const StyledTextContent = styled('div')(() => {
return {
margin: 'auto',
width: '425px',
fontFamily: 'Avenir Next',
fontStyle: 'normal',
fontWeight: '400',
fontSize: '18px',

View File

@@ -29,6 +29,7 @@ const useDBFileSecondaryPath = (workspaceId: string) => {
}
});
}
return;
}, [workspaceId]);
return path;
};

View File

@@ -111,6 +111,7 @@ export const RootAppSidebar = ({
if (isDesktop) {
return window.events?.applicationMenu.onNewPageAction(onClickNewPage);
}
return;
}, [onClickNewPage]);
const [sidebarOpen, setSidebarOpen] = useAtom(appSidebarOpenAtom);