Fixed #30725 -- Fixed width of DateTimeField inputs in admin tabular inline.

"width" of DateTimeField inputs in admin tabular inline wasn't set
correctly what caused displaying too small inputs with responsive CSS
when timezone warning wasn't present.
This commit is contained in:
Min ho Kim 2019-09-17 22:30:33 +10:00 committed by Mariusz Felisiak
parent faf4b988fe
commit b1d6b35e14
2 changed files with 4 additions and 1 deletions

View File

@ -392,6 +392,10 @@ input[type="submit"], button {
color: #ccc;
}
.form-row .datetime input.vDateField, .form-row .datetime input.vTimeField {
width: 75%;
}
.inline-group {
overflow: auto;
}

View File

@ -263,7 +263,6 @@ p.datetime {
}
.datetime input, .form-row .datetime input.vDateField, .form-row .datetime input.vTimeField {
min-width: 0;
margin-left: 5px;
margin-bottom: 4px;
}