Break long URLs where richtext is used.
For example on the blog post show page. This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.
This commit is contained in:
parent
8ecc1a4fce
commit
b470e01f84
10 changed files with 10 additions and 10 deletions
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="richtext"><%= @message.body.to_html %></div>
|
||||
<div class="richtext text-break"><%= @message.body.to_html %></div>
|
||||
|
||||
<div>
|
||||
<%= link_to t(".back"), outbox_messages_path, :class => "btn btn-link" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue