Improve wrapping in error outputs

This commit is contained in:
Jonatan Kłosko 2022-10-07 12:00:39 +02:00
parent b43ebac6f7
commit 734ea7dc0c

View file

@ -298,7 +298,7 @@ defmodule LivebookWeb.Output do
~H"""
<div
class="whitespace-pre-wrap font-editor text-red-600"
class="whitespace-pre-wrap break-words font-editor text-red-600"
role="complementary"
aria-label="error message"
phx-no-format
@ -311,7 +311,7 @@ defmodule LivebookWeb.Output do
~H"""
<div
class="whitespace-pre-wrap font-editor text-gray-500"
class="whitespace-pre-wrap break-words font-editor text-gray-500"
role="complementary"
aria-label="error"
phx-no-format