Skip to content

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

desktop: fix titlebar alignment

Abdullah Atta44a7f057accd
diff --git a/apps/web/src/components/editor/action-bar.tsx b/apps/web/src/components/editor/action-bar.tsx
index 2d1bbd276..4fd436859 100644
--- a/apps/web/src/components/editor/action-bar.tsx
+++ b/apps/web/src/components/editor/action-bar.tsx
@@ -188,7 +188,7 @@ export function EditorActionBar() {
gap: 2,
borderBottom: "1px solid var(--border)",
px: 2,
- ...(IS_DESKTOP_APP && !isFullscreen && !hasNativeWindowControls
+ ...(IS_DESKTOP_APP && !isFullscreen && hasNativeWindowControls
? getPlatform() === "darwin"
? { pl: "calc(100vw - env(titlebar-area-width))" }
: { pr: "calc(100vw - env(titlebar-area-width))" }