[3.1.x] Fixed #31901 -- Prevented content overflowing in the admin changelist with navigation sidebar.

Backport of 2bc38bc7ca from master
This commit is contained in:
007gzs 2020-08-19 08:40:32 +08:00 committed by Mariusz Felisiak
parent 42f8c085a6
commit dfa31f8e87
3 changed files with 8 additions and 0 deletions

View File

@ -90,6 +90,7 @@
margin: 0;
vertical-align: top;
font-size: 13px;
max-width: 230px;
}
#changelist #toolbar form #searchbar:focus {

View File

@ -104,3 +104,7 @@
display: none;
}
}
.change-list .main > #nav-sidebar+.content {
overflow: hidden;
}

View File

@ -62,3 +62,6 @@ Bugfixes
* Fixed a ``django.contrib.admin.EmptyFieldListFilter`` crash when using on
reverse relations (:ticket:`31952`).
* Prevented content overflowing in the admin changelist view when the
navigation sidebar is enabled (:ticket:`31901`).