Opened 15 years ago

Last modified 11 years ago

#12491 closed Bug

help_text for checkbox badly aligned if not on its own line — at Version 10

Reported by: master Owned by: Ramiro Morales
Component: contrib.admin Version: 1.1
Severity: Normal Keywords: help_text design_ux
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Ramiro Morales)

help_text is badly aligned under its checkbox when not alone on the line.

Due to media/css/forms.css:

If the chekbox is on its own line: .checkbox-row p.help applies, with a padding-left: 0, it's ok.

Otherwise: form .aligned p.help applies, with a padding-left: 38px, which gives an ugly rendering.

Change History (11)

comment:1 by Russell Keith-Magee, 15 years ago

Keywords: design_ux added
Triage Stage: UnreviewedAccepted

comment:2 by Matt McClanahan, 14 years ago

Severity: Normal
Type: Bug

comment:3 by Julien Phalip, 13 years ago

UI/UX: set

comment:4 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:5 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:6 by Aymeric Augustin, 13 years ago

UI/UX: set

Revert accidental batch modification.

comment:7 by Niels van Dijk, 12 years ago

I have written a patch for this ticket: https://github.com/django/django/pull/771

Styling was already their but the class name was not used in any template. In admin forms, the help text of a checkbox field will start at the beginning of the line. No indentation. See screenshot:

http://i48.tinypic.com/24fms69.png

comment:8 by Claude Paroz, 12 years ago

Has patch: set

comment:9 by Ramiro Morales, 12 years ago

Owner: changed from nobody to Ramiro Morales
Status: newassigned

comment:10 by Ramiro Morales, 12 years ago

Description: modified (diff)

by Ramiro Morales, 12 years ago

Attachment: 48.png added

Checkbox help text layout before the proposed fix.

Note: See TracTickets for help on using tickets.
Back to Top