Skip to content

Commit b407cb7

Browse files
committed
refactor: adjust multicheckbox CSS for Django 4.0
1 parent cd9dcd1 commit b407cb7

File tree

1 file changed

+7
-3
lines changed
  • mezzanine/core/static/mezzanine/css/admin

1 file changed

+7
-3
lines changed

mezzanine/core/static/mezzanine/css/admin/global.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,18 @@ td, th, th a, label, .help, p.help {
240240
font-size: 13px !important;
241241
}
242242
/* mezzanine.core.fields.MultiChoiceField */
243+
.multicheckbox > * {
244+
display: inline-flex;
245+
margin: 0;
246+
padding: 0;
247+
}
243248
.multicheckbox li {
244249
list-style-type: none;
245-
float: left;
246-
margin-right: 10px;
247250
}
248-
.multicheckbox li label {
251+
.multicheckbox label {
249252
width: auto;
250253
font-weight: normal;
254+
margin-right: 10px;
251255
}
252256
.multicheckbox input {
253257
margin: -1px 6px 0 0;

0 commit comments

Comments
 (0)