Skip to content

Commit

Permalink
feat: use newer features of apis-highlighter-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Oct 11, 2023
1 parent a203d26 commit 533e992
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions apis_ontology/templates/apis_entities/edit_generic.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@

{% block scriptHeader %}
{{ block.super }}
<style>
.select2-container--open {
z-index: 9999999
}
.popover{
max-width: 100%; /* Max Width of the popover (depending on the container!) */
}
</style>
<link rel="stylesheet" href="/static/css/highlighter.css">
{% endblock %}

{% block relations %}
Expand All @@ -22,9 +15,7 @@ <h2>Texts</h2>
{% if text.text %}
<div class="mt-2">
<h4>{{ text.kind }}</h4>
<div class="bg-light border p-2 highlight-text" data-text_object_id="{{text.id}}" data-text_content_type_id="{{text|content_type_id}}">
{{ text | highlight_text }}
</div>
</div>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 533e992

Please sign in to comment.