Skip to content

Commit

Permalink
fix: fix radiolist styles in Django 4
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Dec 30, 2021
1 parent 1d71cc1 commit c8f54bf
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions grappelli_safe/static/grappelli/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -259,27 +259,29 @@ table input[type=checkbox], table input[type=radio] {

/* Radiolists & Checkboxlists ................................................... */

#content .form-row ul {
position: relative; display: inline-flex; float: none;
margin: 4px 0 5px; padding: 0;
line-height: 14px; font-weight: normal;
}
#changelist ul.radiolist {
margin: 0;
#content .form-row div.radiolist,
#content .form-row ul.radiolist {
position: relative;
display: inline-flex;
float: none;
margin: 4px 0 5px;
padding: 0;
line-height: 14px;
font-weight: normal;
}
.result-list-container td li {
float: left;
white-space: nowrap;
padding-right: 10px;
font-weight: normal;
}
.form-row li label {
.form-row .radiolist label {
float: none;
display: inline;
padding-right: 10px;
padding-right: 15px;
font-weight: normal;
}
.form-row li label input {
.form-row input.radiolist {
position: relative;
margin: 0 2px 0 0;
vertical-align: top;
Expand Down

0 comments on commit c8f54bf

Please sign in to comment.