diff --git a/apps/editor/components/ui/sidebar/app-sidebar.tsx b/apps/editor/components/ui/sidebar/app-sidebar.tsx index 4766e6aa..44a9ae7e 100644 --- a/apps/editor/components/ui/sidebar/app-sidebar.tsx +++ b/apps/editor/components/ui/sidebar/app-sidebar.tsx @@ -7,7 +7,6 @@ import { ChevronDown, Clock3, Moon, - Pencil, RotateCcw, Save, Sun, @@ -513,17 +512,6 @@ export function AppSidebar() { } }; - const getPanelTitle = () => { - switch (activePanel) { - case "site": - return "Site"; - case "settings": - return "Settings"; - default: - return ""; - } - }; - return (
@@ -547,15 +535,12 @@ export function AppSidebar() { className="w-full bg-transparent text-foreground outline-none border-b border-primary/50 focus:border-primary rounded-none px-0 py-0 m-0 h-7 font-semibold text-lg" /> ) : ( -
setIsEditingTitle(true)} > -

- {activeProject?.name || "Untitled Project"} -

- -
+ {activeProject?.name || "Untitled Project"} + )}
@@ -569,14 +554,11 @@ export function AppSidebar() { onClick={() => runVersionAction("save")} disabled={isQuickSaveDisabled} className={cn( - "group/save-trigger relative inline-flex h-full min-w-0 items-center border-r border-border/50 px-1.5 text-[10px] transition-colors", + "group/save-trigger relative inline-flex h-full w-16 items-center border-r border-border/50 px-1.5 text-[10px] transition-colors", isQuickSaveDisabled ? "cursor-not-allowed opacity-50" : "hover:bg-black/30", )} - style={{ - width: "clamp(48px, calc(var(--sidebar-width) - 16.5rem), 80px)", - }} > @@ -770,9 +752,6 @@ export function AppSidebar() { )}
- - {getPanelTitle()} -