Skip to content

Commit

Permalink
force monospace
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 21, 2024
1 parent d7cfa4e commit 1da3a0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/templates/patch.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="text/javascript"
src="/static/diff2html/3.4.48/bundles/js/diff2html-ui.min.js"></script>
<style>
#nameDiffElement, #infoboxDiffElement, #summaryDiffElement {
font-family: monospace;
.diff .d2h-code-line-ctn, .diff .d2h-code-line *, .diff * {
font-family: Consolas, Menlo, monospace !important;
}
</style>
{% endblock %}
Expand Down Expand Up @@ -51,19 +51,19 @@

{% if name_patch %}
<div class="row">
<div id="nameDiffElement"></div>
<div id="nameDiffElement" class="diff"></div>
</div>
{% endif %}

{% if infobox_patch %}
<div class="row">
<div id="infoboxDiffElement"></div>
<div id="infoboxDiffElement" class="diff"></div>
</div>
{% endif %}

{% if summary_patch %}
<div class="row">
<div id="summaryDiffElement"></div>
<div id="summaryDiffElement" class="diff"></div>
</div>
{% endif %}

Expand Down

0 comments on commit 1da3a0b

Please sign in to comment.