diff --git a/packages/ui/src/components/diff/diff-view.tsx b/packages/ui/src/components/diff/diff-view.tsx
index 7874c983..8e7d8fac 100644
--- a/packages/ui/src/components/diff/diff-view.tsx
+++ b/packages/ui/src/components/diff/diff-view.tsx
@@ -643,27 +643,30 @@ function DiffViewContent(props: DiffViewProps & { kept: Kept }) {
->
{base}
- {summary.map(sum => (
-
- {sum.group ? {sum.group} : null}
- {sum.fixed
- ? (
-
- {plural(sum.files, "file", "files")}
-
- )
- : null}
- {sum.fixed && !sum.adds && !sum.dels ? null : (
- <>
- +{sum.adds}
- -{sum.dels}
- >
- )}
-
- ))}
+ {/* One line tall, so totals that don't fit wrap out of sight instead of under the toolbar. */}
+
+ {summary.map(sum => (
+
+ {sum.group ? {sum.group} : null}
+ {sum.fixed
+ ? (
+
+ {plural(sum.files, "file", "files")}
+
+ )
+ : null}
+ {sum.fixed && !sum.adds && !sum.dels ? null : (
+ <>
+ +{sum.adds}
+ -{sum.dels}
+ >
+ )}
+
+ ))}
+