fix: add some tips for livedemo

This commit is contained in:
alt0
2022-09-28 15:48:29 +08:00
parent 7c5de7b20c
commit b9bc2d167e
3 changed files with 49 additions and 10 deletions
@@ -88,6 +88,11 @@ export function Page(props: PageProps) {
{activeTab === TabMap.get(TAB_TITLE.TOC).value && (
<TOC />
)}
{activeTab === TabMap.get(TAB_TITLE.GALLERY).value && (
<StyledTextForGallery>
Gallery coming soon...
</StyledTextForGallery>
)}
</WorkspaceSidebarContent>
</WorkspaceSidebar>
</LigoLeftContainer>
@@ -202,3 +207,12 @@ const WorkspaceSidebarContent = styled('div')({
overflow: 'hidden auto',
marginTop: '18px',
});
const StyledTextForGallery = styled('div')(({ theme }) => {
return {
display: 'flex',
justifyContent: 'center',
color: theme.affine.palette.menu,
marginTop: theme.affine.spacing.lgSpacing,
};
});