On 9/05/2017 11:45 AM, Mike Dewhirst wrote:
On 8/05/2017 11:02 PM, Melvyn Sopacua wrote:

On Monday 08 May 2017 03:57:01 Tim Graham wrote:

> You need to clone the Django repository and run the bisect command

> from there:



snip

running /home/melvyn/hg/django-project/invert.sh

Bisecting: 0 revisions left to test after this (roughly 0 steps)


Now I get it!

[e23e7b2ffe8e282adfd5c597df25c181413c5b3b] Fixed #11544 -- Removed
!important rules in contrib.admin styles.

running /home/melvyn/hg/django-project/invert.sh

e23e7b2ffe8e282adfd5c597df25c181413c5b3b is the first bad commit

commit e23e7b2ffe8e282adfd5c597df25c181413c5b3b

Author: elky <mansell...@gmail.com>

Date: Mon Sep 7 00:28:14 2015 +0500

Fixed #11544 -- Removed !important rules in contrib.admin styles.


Should I now contact elky and start a conversation?

I went back to the docs and saw I should add a comment to ticket #11544. The ticket has been closed and I couldn't see how to add a new comment. I suspect closing the ticket cuts off new comments. I'll cc elky and see what happens.

As a workaround, I've added my own bit of css in {% block extrastyles %} to adjust margin-left like so ...

form .wide p, form .wide input + p.help {
    margin-left: 160px !important;
}

... which seems to work. I'd be happy to see forms.css changed but I don't know about unintended consequences.

For elky, the symptom is indented help-text in the Admin for DecimalFields versus help-text for other fields. It seems to be controlled from forms.css like so ...

form .wide p, form .wide input + p.help {
    margin-left: 200px;
}

... and making it 160px seems to repair it. Happy to help in any way which doesn't involve learning git ;)

Thanks everyone for all your help.

Cheers

Mike


Thanks Tim and Melvyn

Mike

:040000 040000 8ba07a707a8493e0eed28fd23cb0e0d1b29e4e69
756ac7c45cced7bb403573eb4d31a70c250fddf8 M django

bisect run success

Happy hunting.

--

Melvyn Sopacua

--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/3834087.V7UGXNyRTa%40devstation
<https://groups.google.com/d/msgid/django-users/3834087.V7UGXNyRTa%40devstation?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0afd2f59-c21f-e1fb-11dc-12333096c936%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to