mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-01 03:38:53 +08:00
fix a display bug when the message wider than the window (#304)
This commit is contained in:
parent
26226a42e0
commit
605c5e397e
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
phx-click="lv:clear-flash"
|
||||
phx-value-key="info">
|
||||
<%= remix_icon("information-line", class: "text-2xl") %>
|
||||
<span class="whitespace-pre"><%= live_flash(@flash, :info) %></span>
|
||||
<span class="whitespace-pre-wrap"><%= live_flash(@flash, :info) %></span>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
phx-click="lv:clear-flash"
|
||||
phx-value-key="error">
|
||||
<%= remix_icon("error-warning-line", class: "text-2xl") %>
|
||||
<span class="whitespace-pre"><%= live_flash(@flash, :error) %></span>
|
||||
<span class="whitespace-pre-wrap"><%= live_flash(@flash, :error) %></span>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue