From b4ce1e0c55972b42580f992d20f722e5d9c12100 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Tue, 24 Mar 2026 22:18:52 +0000 Subject: [PATCH] feat: refactor DictionaryOfStringsViewer to use a flex layout instead of a table for better responsiveness --- .../Dictionary/DictionaryOfStingsViewer.tsx | 49 ++++++++----------- 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/Common/UI/Components/Dictionary/DictionaryOfStingsViewer.tsx b/Common/UI/Components/Dictionary/DictionaryOfStingsViewer.tsx index cb8bf69ce5..4bdf249f42 100644 --- a/Common/UI/Components/Dictionary/DictionaryOfStingsViewer.tsx +++ b/Common/UI/Components/Dictionary/DictionaryOfStingsViewer.tsx @@ -47,35 +47,26 @@ const DictionaryOfStringsViewer: FunctionComponent = ( } return ( -
- - - - - - - - - {data.map((item: Item, index: number) => { - return ( - - - - - ); - })} - -
- Key - - Value -
- {item.key} - - {item.value || ( - empty - )} -
+
+
+ {data.map((item: Item, index: number) => { + return ( +
+ + {item.key} + + + {item.value || ( + empty + )} + +
+ ); + })} +
); };