diff --git a/libs/components/layout/src/header/LayoutHeader.tsx b/libs/components/layout/src/header/LayoutHeader.tsx
index 0adf0546e..ccf649764 100644
--- a/libs/components/layout/src/header/LayoutHeader.tsx
+++ b/libs/components/layout/src/header/LayoutHeader.tsx
@@ -44,10 +44,37 @@ export const LayoutHeader = () => {
+
+
+ AFFiNE now under active development, the version is
+ UNSTABLE, please DO NOT store important data in this version
+
+
);
};
+const StyledUnstableTips = styled('div')(({ theme }) => {
+ return {
+ width: '100%',
+ height: '2em',
+ display: 'flex',
+ zIndex: theme.affine.zIndex.header,
+ backgroundColor: '#fff8c5',
+ borderWidth: '1px 0',
+ borderColor: '#e4e49588',
+ borderStyle: 'solid',
+ };
+});
+
+const StyledUnstableTipsText = styled('span')(({ theme }) => {
+ return {
+ margin: 'auto 36px',
+ width: '100%',
+ textAlign: 'center',
+ };
+});
+
const StyledContainerForHeaderRoot = styled('div')(({ theme }) => {
return {
width: '100%',
@@ -114,7 +141,9 @@ const StyledLogoIcon = styled(LogoIcon)(({ theme }) => {
const StyledContainerForEditorBoardSwitcher = styled('div')(({ theme }) => {
return {
+ width: '100%',
position: 'absolute',
- left: '50%',
+ display: 'flex',
+ justifyContent: 'center',
};
});