diff --git a/input/admin.py b/input/admin.py index b441386..059eaed 100755 --- a/input/admin.py +++ b/input/admin.py @@ -157,6 +157,9 @@ class BaseProjectAdmin(admin.ModelAdmin): class Media: js = ('dropdown/js/otrs_link.js',) + css = { + 'all': ['css/full-width-related-labels.css'], + } granted: bool diff --git a/input/static/css/full-width-related-labels.css b/input/static/css/full-width-related-labels.css new file mode 100644 index 0000000..c121cb5 --- /dev/null +++ b/input/static/css/full-width-related-labels.css @@ -0,0 +1,3 @@ +.related-widget-wrapper div label { + width: auto; +} diff --git a/input/templates/admin/input/project/change_form.html b/input/templates/admin/input/project/change_form.html deleted file mode 100644 index 55d00d5..0000000 --- a/input/templates/admin/input/project/change_form.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'admin/change_form.html' %} - -{% block extrastyle %} - {{ block.super }} - -{% endblock %}