Skip to content

Commit

Permalink
fix: Break long words in cards to prevent layout jumps (#5064)
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Feb 1, 2023
1 parent 2954044 commit 7ddc09e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ietf/templates/doc/document_bofreq.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<div class="card-header">
{{ doc.name }}-{{ doc.rev }}
</div>
<div class="card-body">
<div class="card-body text-break">
{{ content }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ietf/templates/doc/document_material.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
</p>
<div id="materials-content" class="card mt-5">
<div class="card-header">{{ doc.name }}-{{ doc.rev }}</div>
<div class="card-body">
<div class="card-body{% if content_is_html %} text-break{% endif %}">
{% if doc.rev and content != None %}
{% if content_is_html %}
{{ content|sanitize|safe }}
Expand Down

0 comments on commit 7ddc09e

Please sign in to comment.