mirror of
https://github.com/django/django.git
synced 2025-04-22 00:04:43 +00:00
[3.0.x] 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. Backport of b1d6b35e146aea83b171c1b921178bbaae2795ed from master
This commit is contained in:
parent
685d956764
commit
6c761a25fb
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user