fix: the web version should not display client borders (#4040)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
JimmFlyandAlex Yang authored and GitHub committed 2023-08-31 13:15:22 -05:00
1 parent 97a0969583
commit 6be176b4e3
2 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ export const fontStyleOptions = [
}[];
const appSettingBaseAtom = atomWithStorage<AppSetting>('affine-settings', {
clientBorder: environment.isDesktop ? !environment.isWindows : false,
clientBorder: environment.isDesktop && globalThis.platform !== 'win32',
fullWidthLayout: false,
windowFrameStyle: 'frameless',
fontStyle: 'Sans',