Fixed #32391 -- Used CSS flex properties for changelist filter.
Matched layout adjustment using flex from admin sidebar added in
d24ba1be7a
.
Filters would become squashed when viewport was
constrained or list display table became too wide.
This commit is contained in:
parent
3c004075b1
commit
269a767146
|
@ -128,8 +128,8 @@
|
||||||
/* FILTER COLUMN */
|
/* FILTER COLUMN */
|
||||||
|
|
||||||
#changelist-filter {
|
#changelist-filter {
|
||||||
|
flex: 0 0 240px;
|
||||||
order: 1;
|
order: 1;
|
||||||
width: 240px;
|
|
||||||
background: var(--darkened-bg);
|
background: var(--darkened-bg);
|
||||||
border-left: none;
|
border-left: none;
|
||||||
margin: 0 0 0 30px;
|
margin: 0 0 0 30px;
|
||||||
|
|
|
@ -157,7 +157,7 @@ input[type="submit"], button {
|
||||||
}
|
}
|
||||||
|
|
||||||
#changelist-filter {
|
#changelist-filter {
|
||||||
width: 200px;
|
flex-basis: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.change-list .filtered .results,
|
.change-list .filtered .results,
|
||||||
|
|
|
@ -9,4 +9,5 @@ Django 3.1.6 fixes several bugs in 3.1.5.
|
||||||
Bugfixes
|
Bugfixes
|
||||||
========
|
========
|
||||||
|
|
||||||
* ...
|
* Fixed an admin layout issue in Django 3.1 where changelist filter controls
|
||||||
|
would become squashed (:ticket:`32391`).
|
||||||
|
|
Loading…
Reference in New Issue