OK - managed to fix this myself...
In the inline_searchinput.html file, add a line after the section of
code that starts:
$('#lookup_{{ name }}').autocomplete('{{ search_path }}', {
extraParams: {
'search_fields': '{{ search_fields }}',
'app_label': '{{ app_label }}',
'model_name': '{{ model_name }}'
},
with:
inputClass: "vForeignKeyTextAdminField",
You can use any name, of course - but the same name should be used in
your .css file. I found that a styling of width:85% gave a suitably
large display for showing a long text entry...
Derek
On Oct 21, 4:06 pm, Derek wrote:
> A quick question for anyone using the django-autocomplete ... where/how do I
> style the display box used for displaying the "static" text?
>
> Thanks!
> Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.