summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/properties-panel
diff options
context:
space:
mode:
authorayush18pop <ayushsp05@gmail.com>2025-07-22 15:27:46 +0530
committerayush18pop <ayushsp05@gmail.com>2025-07-22 15:27:46 +0530
commit097c574d9ce021c80e925d2d156fa79719e66a76 (patch)
treed91d8b890da98b251d9925323d1a16470a11c21f /apps/web/src/components/editor/properties-panel
parent853509dd2ca6233af8e746ec8bd5a9bc214b4eed (diff)
downloadopencut-097c574d9ce021c80e925d2d156fa79719e66a76.tar.gz
feat: enhance project name input in editor header and improve properties panel display
Diffstat (limited to 'apps/web/src/components/editor/properties-panel')
-rw-r--r--apps/web/src/components/editor/properties-panel/index.tsx4
1 files changed, 2 insertions, 2 deletions
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 = (
<div className="space-y-4 p-5">
{/* Media Properties */}
- <div className="flex flex-col gap-3">
+ <div className="flex flex-col gap-3 ">
<PropertyItem label="Name:" value={activeProject?.name || ""} />
<PropertyItem label="Aspect ratio:" value={getDisplayName()} />
<PropertyItem
@@ -103,7 +103,7 @@ function PropertyItem({ label, value }: { label: string; value: string }) {
return (
<div className="flex justify-between">
<Label className="text-xs text-muted-foreground">{label}</Label>
- <span className="text-xs text-right">{value}</span>
+ <span className="text-xs text-right truncate text-ellipsis overflow-clip w-40" title={value}>{value}</span>
</div>
);
}