Opened 6 years ago

Closed 6 years ago

#11529 closed (invalid)

RadioSelect widget is misaligned and has square bullets in admin

Reported by: rfugger Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: radioselect widget admin css
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When I override the add/change form in my ModelAdmin, and subsequently set a field in that ModelForm to use the RadioSelect widget instead of the default Select, the resulting display is not very good-looking in the admin app:

  • Each subsequent radio input is a few pixels lower than the previous.
  • Each radio input is preceded by an unattractive square bullet, top aligned.

I have attached an image showing this behaviour.

I also tried using the AdminRadioSelect widget, with the same result.

It would be nice if the admin CSS would handle this case in a more attractive way.

Attachments (1)

ugly_radio.png (8.9 KB) - added by rfugger 6 years ago.
Screenshot showing misaligned radio inputs and square bullets.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by rfugger

Screenshot showing misaligned radio inputs and square bullets.

comment:1 Changed 6 years ago by rfugger

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Version changed from 1.0 to SVN

comment:2 Changed 6 years ago by rfugger

  • Resolution set to invalid
  • Status changed from new to closed

Ok, sorry, I'll just use ModelAdmin.radio_fields that I somehow missed.

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