forked from beba/foerderbarometer
full width related labels for all product change forms
This commit is contained in:
parent
b156ee0067
commit
8abc051a59
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
.related-widget-wrapper div label {
|
||||
width: auto;
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{% extends 'admin/change_form.html' %}
|
||||
|
||||
{% block extrastyle %}
|
||||
{{ block.super }}
|
||||
<style>
|
||||
.related-widget-wrapper div label {
|
||||
width: auto;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
Loading…
Reference in New Issue