diff --git a/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts b/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts
index b3c9b802827..78f1f61d602 100644
--- a/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts
+++ b/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts
@@ -74,10 +74,10 @@ export class RemoteDebuggingTerminatedScreen extends VBox {
render(
html`
${i18nString(UIStrings.title)}
-
- ${i18nString(UIStrings.debuggingConnectionWasClosed)}
+
+ ${i18nString(UIStrings.debuggingConnectionWasClosed)}
${reason}
-
+
${i18nString(UIStrings.reconnectWhenReadyByReopening)}
diff --git a/front_end/ui/legacy/remoteDebuggingTerminatedScreen.css b/front_end/ui/legacy/remoteDebuggingTerminatedScreen.css
index 2eb24a4b490..1c7b3d293cb 100644
--- a/front_end/ui/legacy/remoteDebuggingTerminatedScreen.css
+++ b/front_end/ui/legacy/remoteDebuggingTerminatedScreen.css
@@ -16,7 +16,6 @@
.remote-debugging-terminated-message {
font-size: 14px;
- white-space: pre;
margin: 5px 0;
margin-bottom: 24px;
}