From 296fbe55df35965b1f5f1846ed8bccbc229a1a36 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Tue, 19 Aug 2025 23:58:46 +0100 Subject: [PATCH] Enhance TemplateEditor component with new features and UI improvements - Added a disabled state to the info button based on global object data. - Adjusted preview scale increment and decrement values for finer control. - Introduced a read-only button to display the current preview scale. - Wrapped the ObjectProperty component in a scrollable div for better visibility in the modal. - Increased modal width for improved layout and user experience. --- .../Dashboard/common/TemplateEditor.jsx | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/src/components/Dashboard/common/TemplateEditor.jsx b/src/components/Dashboard/common/TemplateEditor.jsx index 65af46c..052f378 100644 --- a/src/components/Dashboard/common/TemplateEditor.jsx +++ b/src/components/Dashboard/common/TemplateEditor.jsx @@ -100,6 +100,7 @@ const TemplateEditor = ({ )}