Skip to content

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

desktop: disable shrinking for titlebar

Abdullah Attac1afd4692d76
diff --git a/apps/web/src/components/title-bar/index.tsx b/apps/web/src/components/title-bar/index.tsx
index 1533488dc..e41a4d26a 100644
--- a/apps/web/src/components/title-bar/index.tsx
+++ b/apps/web/src/components/title-bar/index.tsx
@@ -68,7 +68,10 @@ export function TitleBar() {
sx={{
background: "background",
height: TITLE_BAR_HEIGHT,
+ minHeight: TITLE_BAR_HEIGHT,
+ maxHeight: TITLE_BAR_HEIGHT,
display: "flex",
+ flexShrink: 0,
borderBottom: "1px solid var(--border)",
...(!isFullscreen && hasNativeWindowControls
? getPlatform() === "darwin"