Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: do not change properties top on web app

Abdullah Atta16ec35de25b2
diff --git a/apps/web/src/components/title-bar/index.tsx b/apps/web/src/components/title-bar/index.tsx
index c783be214..08585929e 100644
--- a/apps/web/src/components/title-bar/index.tsx
+++ b/apps/web/src/components/title-bar/index.tsx
@@ -29,7 +29,7 @@ import {
} from "../icons";
import { BaseThemeProvider } from "../theme-provider";
-export const TITLE_BAR_HEIGHT = 37.8;
+export const TITLE_BAR_HEIGHT = IS_DESKTOP_APP ? 37.8 : 0;
export function TitleBar() {
const { isMaximized, isFullscreen, hasNativeWindowControls } =
useWindowControls();