diff --git a/src/components/diff-viewer.tsx b/src/components/diff-viewer.tsx index 1f8de24..6727645 100644 --- a/src/components/diff-viewer.tsx +++ b/src/components/diff-viewer.tsx @@ -286,32 +286,50 @@ function DiffSummary({ diff }: { diff: PlistDiff }) { {totalChanges} changes ({summaryParts.join(", ")}) - + {diff.added.length > 0 && ( -
- - - {diff.added.length} added:{" "} - {diff.added.join(", ")} - +
+
+ + {diff.added.length} added +
+
+ {diff.added.map((key) => ( + + {key} + + ))} +
)} {diff.removed.length > 0 && ( -
- - - {diff.removed.length} removed:{" "} - {diff.removed.join(", ")} - +
+
+ + {diff.removed.length} removed +
+
+ {diff.removed.map((key) => ( + + {key} + + ))} +
)} {diff.changed.length > 0 && ( -
- - - {diff.changed.length} changed:{" "} - {diff.changed.join(", ")} - +
+
+ + {diff.changed.length} changed +
+
+ {diff.changed.map((key) => ( + + {key} + + ))} +
)}