From f4eef9d1a49055e5ed73012012e4ff6cbec7db2b Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Sat, 6 Jun 2026 13:35:53 +0200 Subject: [PATCH] =?UTF-8?q?style(furni-editor):=20space=20optimization=20?= =?UTF-8?q?=E2=80=94=20name+description=20side-by-side=20(2-col),=20tighte?= =?UTF-8?q?r=20card/section=20padding,=20compact=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/FurniEditorEditView.tsx | 48 +++++++++---------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/src/components/furni-editor/views/FurniEditorEditView.tsx b/src/components/furni-editor/views/FurniEditorEditView.tsx index b4b841b..f40775d 100644 --- a/src/components/furni-editor/views/FurniEditorEditView.tsx +++ b/src/components/furni-editor/views/FurniEditorEditView.tsx @@ -38,13 +38,13 @@ const Section: FC = ({ title, children, defaultOpen = true }) =>
- { open &&
{ children }
} + { open &&
{ children }
}
); }; @@ -220,16 +220,16 @@ export const FurniEditorEditView: FC = props => const readonlyClass = 'w-full px-3 py-1.5 text-sm font-mono rounded-lg border border-slate-200 bg-slate-50 text-slate-500 select-all'; return ( - + { /* Header */ } - -
- + +
+
- { furniName || form.publicName || form.itemName } + { furniName || form.publicName || form.itemName } { form.itemName } - + ID { item.id } Sprite { item.spriteId } { item.usageCount } in use @@ -240,29 +240,27 @@ export const FurniEditorEditView: FC = props => { /* Primary edit surface: furnidata display name + description (server-authoritative, live) */ } -
-
+
+
Display name & description LIVE { (furniName !== String(furniDataEntry?.name ?? '') || furniDescription !== String(furniDataEntry?.description ?? '')) && Unsaved }
-
- -
- - setFurniName(e.target.value) } maxLength={ 256 } /> -
-
- -