diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsx
index ecd2291d..7b915897 100644
--- a/apps/web/src/components/editor-header.tsx
+++ b/apps/web/src/components/editor-header.tsx
@@ -9,6 +9,7 @@ import { formatTimeCode } from "@/lib/time";
import { useProjectStore } from "@/stores/project-store";
import { KeyboardShortcutsHelp } from "./keyboard-shortcuts-help";
import { useState, useRef, useEffect } from "react";
+import { Input } from "@/components/ui/input";
export function EditorHeader() {
const { getTotalDuration } = useTimelineStore();
@@ -62,28 +63,30 @@ export function EditorHeader() {
>
-
+
{isEditing ? (
- // Editable input for project name
-
setNewName(e.target.value)}
onBlur={handleNameSave}
onKeyDown={handleInputKeyDown}
+ maxLength={64}
+ aria-label="Project name"
+ autoFocus
/>
) : (
// Display project name as span, click to edit
e.key === 'Enter' && handleNameClick()}
- >
- {activeProject?.name}
+ >{activeProject?.name}
)}
diff --git a/apps/web/src/components/editor/properties-panel/index.tsx b/apps/web/src/components/editor/properties-panel/index.tsx
index 9e28850f..d96e1e99 100644
--- a/apps/web/src/components/editor/properties-panel/index.tsx
+++ b/apps/web/src/components/editor/properties-panel/index.tsx
@@ -34,7 +34,7 @@ export function PropertiesPanel() {
const emptyView = (
{/* Media Properties */}
-
+
- {value}
+ {value}
);
}