mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: header switcher
This commit is contained in:
@@ -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',
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user