chore: adjust styles
This commit is contained in:
@@ -235,7 +235,7 @@ const GitHub = (props: { center?: boolean; flat?: boolean }) => {
|
|||||||
startIcon={<GitHubIcon />}
|
startIcon={<GitHubIcon />}
|
||||||
size="lg"
|
size="lg"
|
||||||
>
|
>
|
||||||
Check GitHub
|
{props.center ? 'Check ' : ''}GitHub
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export const LayoutHeader = () => {
|
|||||||
const warningTips = useMemo(() => {
|
const warningTips = useMemo(() => {
|
||||||
if (!fsApiSupported()) {
|
if (!fsApiSupported()) {
|
||||||
return 'Your browser does not support the local storage feature, please upgrade to the latest version of Chrome or Edge browser';
|
return 'Your browser does not support the local storage feature, please upgrade to the latest version of Chrome or Edge browser';
|
||||||
} else if (isLocalWorkspace) {
|
} else if (!isLocalWorkspace) {
|
||||||
return 'You are in DEMO mode. Changes will NOT be saved unless you SYNC TO DISK';
|
return 'You are in DEMO mode. Changes will NOT be saved unless you SYNC TO DISK';
|
||||||
} else {
|
} else {
|
||||||
return 'AFFiNE is under active development and the current version is UNSTABLE. Please DO NOT store information or data';
|
return 'AFFiNE is under active development and the current version is UNSTABLE. Please DO NOT store information or data';
|
||||||
|
|||||||
Reference in New Issue
Block a user