From 541f0573b54f615b686204dfeffc641768948c7f Mon Sep 17 00:00:00 2001 From: molotgor Date: Tue, 2 Aug 2022 17:09:05 +0400 Subject: [PATCH 1/5] bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index f40f8dc..52beaf3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "th2-schema-editor", - "version": "1.1.13", + "version": "1.1.14", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ba8e6e9..8b47d1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "th2-schema-editor", - "version": "1.1.13", + "version": "1.1.14", "description": "", "main": "index.tsx", "private": true, From 7e7da6cfd486898abdbc29cb53408e3fe766ff9b Mon Sep 17 00:00:00 2001 From: molotgor Date: Tue, 2 Aug 2022 17:21:02 +0400 Subject: [PATCH 2/5] changed width of dictionary modal --- src/components/dictionary/DictionaryModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dictionary/DictionaryModal.tsx b/src/components/dictionary/DictionaryModal.tsx index 8541505..c9fb671 100644 --- a/src/components/dictionary/DictionaryModal.tsx +++ b/src/components/dictionary/DictionaryModal.tsx @@ -154,7 +154,7 @@ const DictionaryModal = ({ dictionary, onClose }: DictionaryModalProps) => { onDragExit={() => setIsFileDragging(false)} ref={modalRef} style={{ - width: 'auto', + width: '500px', }} className='modal'>
From 023df06e72bc7b66f8573aab1602fe009d81a5d6 Mon Sep 17 00:00:00 2001 From: molotgor Date: Tue, 16 Aug 2022 14:20:36 +0400 Subject: [PATCH 3/5] added ability to resize modal forms --- src/components/box/BoxSettings.tsx | 1 + src/components/dictionary/DictionaryModal.tsx | 3 --- src/components/util/ConfigEditor.tsx | 2 +- src/styles/modal.scss | 18 ++++++++++++++++-- src/styles/root.scss | 8 +++++++- 5 files changed, 25 insertions(+), 7 deletions(-) diff --git a/src/components/box/BoxSettings.tsx b/src/components/box/BoxSettings.tsx index 9bb958b..a508c31 100644 --- a/src/components/box/BoxSettings.tsx +++ b/src/components/box/BoxSettings.tsx @@ -373,6 +373,7 @@ const BoxSettings = ({ box, onClose, setEditablePin, setEditableDictionary }: Bo style={{ maxHeight: 500, overflow: 'auto', + flexGrow: 0, }}> {isUpdated && (
diff --git a/src/components/dictionary/DictionaryModal.tsx b/src/components/dictionary/DictionaryModal.tsx index c9fb671..a819e1c 100644 --- a/src/components/dictionary/DictionaryModal.tsx +++ b/src/components/dictionary/DictionaryModal.tsx @@ -153,9 +153,6 @@ const DictionaryModal = ({ dictionary, onClose }: DictionaryModalProps) => { onDragEnter={() => setIsFileDragging(true)} onDragExit={() => setIsFileDragging(false)} ref={modalRef} - style={{ - width: '500px', - }} className='modal'>

diff --git a/src/components/util/ConfigEditor.tsx b/src/components/util/ConfigEditor.tsx index c318b80..9b7ae6a 100644 --- a/src/components/util/ConfigEditor.tsx +++ b/src/components/util/ConfigEditor.tsx @@ -33,7 +33,7 @@ const ConfigEditor = ({ configInput }: ConfigEditor) => { {configInput.label} Date: Tue, 16 Aug 2022 14:22:28 +0400 Subject: [PATCH 4/5] bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 52beaf3..8d61938 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "th2-schema-editor", - "version": "1.1.14", + "version": "1.1.15", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8b47d1d..e4d9d2d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "th2-schema-editor", - "version": "1.1.14", + "version": "1.1.15", "description": "", "main": "index.tsx", "private": true, From 03995511f4ae5708fd85a289e6dacc1e1243b655 Mon Sep 17 00:00:00 2001 From: molotgor Date: Tue, 16 Aug 2022 15:25:37 +0400 Subject: [PATCH 5/5] bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8d61938..bf1540a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "th2-schema-editor", - "version": "1.1.15", + "version": "1.1.21", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e4d9d2d..c970867 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "th2-schema-editor", - "version": "1.1.15", + "version": "1.1.21", "description": "", "main": "index.tsx", "private": true,