Skip to content

Commit 304e017

Browse files
committed
Fixed #12260 -- Corrected CSS when using checkbox widgets on a ModelMultipleChoiceField in admin. Thanks to tiliv for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent c421a4f commit 304e017

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

django/contrib/admin/media/css/forms.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ form ul.inline li {
6767
width: 8em;
6868
}
6969

70+
.aligned ul label {
71+
display: inline;
72+
float: none;
73+
width: auto;
74+
}
75+
7076
.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField {
7177
width: 350px;
7278
}

0 commit comments

Comments
 (0)