Skip to content

Commit

Permalink
Fix diff colour on import
Browse files Browse the repository at this point in the history
Django Admin's dark theme forces all text
to be white, which causes issues on diffs,
as diffs bg is also has light colours as well.
  • Loading branch information
AndyGreenwell94 committed Oct 20, 2023
1 parent 45978fa commit 04e4f48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ins {
color: black;
}
del {
color: black;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
<script type="text/javascript" src="{% static 'import_export_extensions/js/admin/admin.js' %}"></script>
<link rel="stylesheet" type="text/css" href="{% static "import_export_extensions/css/admin/import_result_diff.css" %}"/>
{% endblock %}


Expand Down

0 comments on commit 04e4f48

Please sign in to comment.