diff --git a/client/src/components/History.tsx b/client/src/components/History.tsx index 7ce7dcf..b03d1f4 100644 --- a/client/src/components/History.tsx +++ b/client/src/components/History.tsx @@ -75,9 +75,9 @@ const HistoryAndNotifications = ({ -
+                        
-
+ {request.response && (
@@ -92,9 +92,9 @@ const HistoryAndNotifications = ({
-
+                          
-
+ )} @@ -143,11 +143,11 @@ const HistoryAndNotifications = ({ -
+                      
-
+ )} diff --git a/client/src/components/JsonView.tsx b/client/src/components/JsonView.tsx index bd8d315..e2922f0 100644 --- a/client/src/components/JsonView.tsx +++ b/client/src/components/JsonView.tsx @@ -71,7 +71,7 @@ const JsonNode = memo( boolean: "text-amber-600", null: "text-purple-600", undefined: "text-gray-600", - string: "text-green-600 break-all", + string: "text-green-600 break-all whitespace-pre-wrap", default: "text-gray-700", }; @@ -174,7 +174,7 @@ const JsonNode = memo( {name}: )} -

"{value}"

+
"{value}"
); } @@ -186,7 +186,7 @@ const JsonNode = memo( {name}: )} - {isExpanded ? `"${value}"` : `"${value.slice(0, maxLength)}..."`} - + ); }; diff --git a/client/src/components/ResourcesTab.tsx b/client/src/components/ResourcesTab.tsx index bc3e39a..443a902 100644 --- a/client/src/components/ResourcesTab.tsx +++ b/client/src/components/ResourcesTab.tsx @@ -215,9 +215,9 @@ const ResourcesTab = ({ {error} ) : selectedResource ? ( -
+            
-
+ ) : selectedTemplate ? (

diff --git a/client/src/components/SamplingTab.tsx b/client/src/components/SamplingTab.tsx index d14d4c8..21fc7dd 100644 --- a/client/src/components/SamplingTab.tsx +++ b/client/src/components/SamplingTab.tsx @@ -44,9 +44,9 @@ const SamplingTab = ({ pendingRequests, onApprove, onReject }: Props) => {

Recent Requests

{pendingRequests.map((request) => (
-
+            
-
+