Skip to content

Commit

Permalink
refactor: adjust multicheckbox CSS for Django 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Dec 30, 2021
1 parent cd9dcd1 commit b407cb7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions mezzanine/core/static/mezzanine/css/admin/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,18 @@ td, th, th a, label, .help, p.help {
font-size: 13px !important;
}
/* mezzanine.core.fields.MultiChoiceField */
.multicheckbox > * {
display: inline-flex;
margin: 0;
padding: 0;
}
.multicheckbox li {
list-style-type: none;
float: left;
margin-right: 10px;
}
.multicheckbox li label {
.multicheckbox label {
width: auto;
font-weight: normal;
margin-right: 10px;
}
.multicheckbox input {
margin: -1px 6px 0 0;
Expand Down

0 comments on commit b407cb7

Please sign in to comment.