Skip to content

Commit 734ea7d

Browse files
committed
Improve wrapping in error outputs
1 parent b43ebac commit 734ea7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/livebook_web/live/output.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ defmodule LivebookWeb.Output do
298298

299299
~H"""
300300
<div
301-
class="whitespace-pre-wrap font-editor text-red-600"
301+
class="whitespace-pre-wrap break-words font-editor text-red-600"
302302
role="complementary"
303303
aria-label="error message"
304304
phx-no-format
@@ -311,7 +311,7 @@ defmodule LivebookWeb.Output do
311311

312312
~H"""
313313
<div
314-
class="whitespace-pre-wrap font-editor text-gray-500"
314+
class="whitespace-pre-wrap break-words font-editor text-gray-500"
315315
role="complementary"
316316
aria-label="error"
317317
phx-no-format

0 commit comments

Comments
 (0)