Fixed #31901 -- Prevented content overflowing in the admin changelist with navigation sidebar.

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

View File

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

View File

@ -104,3 +104,7 @@
display: none; 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 * Fixed a ``django.contrib.admin.EmptyFieldListFilter`` crash when using on
reverse relations (:ticket:`31952`). reverse relations (:ticket:`31952`).
* Prevented content overflowing in the admin changelist view when the
navigation sidebar is enabled (:ticket:`31901`).