summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorayush18pop <ayushsp05@gmail.com>2025-07-22 16:08:41 +0530
committerayush18pop <ayushsp05@gmail.com>2025-07-22 16:08:41 +0530
commit6de16395b794cc8a3a1dee59aeb36765723d20a6 (patch)
treee478ff713cafd071b509362610c0615915c3059e /apps
parent853509dd2ca6233af8e746ec8bd5a9bc214b4eed (diff)
downloadopencut-6de16395b794cc8a3a1dee59aeb36765723d20a6.tar.gz
fix: improve property item display by adding truncation and tooltip for long values
Diffstat (limited to 'apps')
-rw-r--r--apps/web/src/components/editor/properties-panel/index.tsx2
1 files changed, 1 insertions, 1 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..50f6c5f9 100644
--- a/apps/web/src/components/editor/properties-panel/index.tsx
+++ b/apps/web/src/components/editor/properties-panel/index.tsx
@@ -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 overflow-hidden whitespace-nowrap w-40" title={value}>{value}</span>
</div>
);
}