Opened 4 years ago

Closed 3 years ago

#15873 closed Cleanup/optimization (fixed)

CSS alignment issue in docs

Reported by: gabrielhurley Owned by: gabrielhurley
Component: *.djangoproject.com Version: master
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 Changed 4 years ago by carljm

  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:3 Changed 4 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:4 Changed 3 years ago by aaugustin

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top