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')({
display: 'flex',
alignItems: 'center',
pointerEvents: 'all',
});

View File

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