Opened 13 years ago

Closed 12 years ago

#15873 closed Cleanup/optimization (fixed)

CSS alignment issue in docs

Reported by: Gabriel Hurley Owned by: Gabriel Hurley
Component: *.djangoproject.com Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When using Sphinx's (very underused and very handy) parameter list format, the styles applied cause the "Parameters:" header and the list of parameters to be offset from each other. You can see this in action here:

http://docs.djangoproject.com/en/dev/topics/signals/#django.dispatch.Signal.connect

My suggestion would be to apply a style such as this:

td.field-body ul {
    margin-top: 0;
    margin-bottom: 0;
}

I haven't checked to see if that would impact anything else in the docs. I don't believe it does, but I can't guarantee it. Given that I'd like to make more use of this feature in the docs going forward, I'd love to get this fixed.

Change History (4)

comment:1 by Carl Meyer, 13 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:3 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:4 by Aymeric Augustin, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top