Merge pull request #1359 from Metrax/issue-1358

Fixing Wrapping in History Details Modal in Dashboard
This commit is contained in:
Matt Scott 2023-01-14 12:04:43 -05:00 committed by GitHub
commit 0c42bdad5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,24 +92,24 @@
{% for changes in hist_rec_entry.changeSet %} {% for changes in hist_rec_entry.changeSet %}
<tr> <tr>
{% if changes[2] == "unchanged" %} {% if changes[2] == "unchanged" %}
<td> <td style="word-break: break-all">
{{changes[0]['content']}} {{changes[0]['content']}}
</td> </td>
{% elif changes[2] == "addition" %} {% elif changes[2] == "addition" %}
<td> <td style="word-break: break-all">
<span style="background-color: lightgreen"> <span style="background-color: lightgreen">
{{changes[1]['content']}} {{changes[1]['content']}}
</span> </span>
</td> </td>
{% elif changes[2] == "deletion" %} {% elif changes[2] == "deletion" %}
<td> <td style="word-break: break-all">
<s <s
style="text-decoration-color: rgba(194, 10, 10, 0.6); text-decoration-thickness: 2px;"> style="text-decoration-color: rgba(194, 10, 10, 0.6); text-decoration-thickness: 2px;">
{{changes[0]['content']}} {{changes[0]['content']}}
</s> </s>
</td> </td>
{% elif changes[2] == "status" %} {% elif changes[2] == "status" %}
<td> <td style="word-break: break-all">
{{changes[0]['content']}} {{changes[0]['content']}}
</td> </td>
{% endif %} {% endif %}
@ -119,7 +119,7 @@
</table> </table>
</td> </td>
<td> <td style="word-break: break-all">
{% for comments in hist_rec_entry.add_rrset['comments'] %} {% for comments in hist_rec_entry.add_rrset['comments'] %}
{{comments['content'] }} {{comments['content'] }}
<br/> <br/>