diff --git a/src/main/main.ts b/src/main/main.ts
index a52a337..e326b9e 100644
--- a/src/main/main.ts
+++ b/src/main/main.ts
@@ -48,6 +48,7 @@ function createWindow(): void {
minHeight: 600,
title: 'Blogging Desktop Server',
backgroundColor: '#1e1e1e', // VS Code dark background
+ titleBarStyle: process.platform === 'darwin' ? 'hiddenInset' : 'default',
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
nodeIntegration: false,
diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx
index a368d24..b54c315 100644
--- a/src/renderer/App.tsx
+++ b/src/renderer/App.tsx
@@ -1,5 +1,5 @@
import React, { useEffect } from 'react';
-import { ActivityBar, Sidebar, Editor, StatusBar, Panel, TabBar, ToastContainer, showToast, ResizablePanel } from './components';
+import { ActivityBar, Sidebar, Editor, StatusBar, Panel, TabBar, ToastContainer, showToast, ResizablePanel, WindowTitleBar } from './components';
import { useAppStore, PostData, MediaData, TaskProgress } from './store';
import { loadTabsForProject, saveTabsForProject } from './utils';
import './App.css';
@@ -315,6 +315,7 @@ const App: React.FC = () => {
return (
+
{sidebarVisible && (
diff --git a/src/renderer/components/TabBar/TabBar.css b/src/renderer/components/TabBar/TabBar.css
index b2f14ac..b0ed5e5 100644
--- a/src/renderer/components/TabBar/TabBar.css
+++ b/src/renderer/components/TabBar/TabBar.css
@@ -45,29 +45,6 @@
background-color: var(--vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31));
}
-/* Sidebar toggle button */
-.tab-bar-toggle-sidebar {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 35px;
- height: 100%;
- background-color: transparent;
- border: none;
- border-right: 1px solid var(--vscode-tab-border, #252526);
- color: var(--vscode-icon-foreground, #c5c5c5);
- cursor: pointer;
- flex-shrink: 0;
-}
-
-.tab-bar-toggle-sidebar:hover {
- background-color: var(--vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31));
-}
-
-.tab-bar-toggle-sidebar:active {
- background-color: var(--vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31));
-}
-
.tab-scroll-left {
border-right: 1px solid var(--vscode-tab-border, #252526);
}
diff --git a/src/renderer/components/TabBar/TabBar.tsx b/src/renderer/components/TabBar/TabBar.tsx
index 754e16d..e1663af 100644
--- a/src/renderer/components/TabBar/TabBar.tsx
+++ b/src/renderer/components/TabBar/TabBar.tsx
@@ -161,7 +161,6 @@ export const TabBar: React.FC = () => {
media,
activeProject,
dirtyPosts,
- sidebarVisible,
toggleSidebar,
setActiveTab,
closeTab,
@@ -475,18 +474,6 @@ export const TabBar: React.FC = () => {
return (
-
-
{showLeftArrow && (