feat: header switcher

This commit is contained in:
DarkSky
2022-08-11 22:31:38 +08:00
parent b3f1ba6ca0
commit f57aaf7e80
2 changed files with 7 additions and 5 deletions

View File

@@ -62,4 +62,5 @@ export const Switcher = () => {
const StyledContainerForSwitcher = styled('div')({ const StyledContainerForSwitcher = styled('div')({
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
pointerEvents: 'all',
}); });

View File

@@ -147,9 +147,10 @@ const StyledLogoIcon = styled(LogoIcon)(({ theme }) => {
}; };
}); });
const StyledContainerForEditorBoardSwitcher = styled('div')(({ theme }) => { const StyledContainerForEditorBoardSwitcher = styled('div')({
return { width: '100%',
position: 'absolute', position: 'absolute',
left: '50%', display: 'flex',
}; justifyContent: 'center',
pointerEvents: 'none',
}); });