Opened 5 years ago

Last modified 5 years ago

#31576 closed Bug

Navigation sidebar hides some elements on small windows. — at Version 2

Reported by: Mariusz Felisiak Owned by:
Component: contrib.admin Version: 3.1
Severity: Release blocker Keywords:
Cc: Tom Carrick Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Mariusz Felisiak)

Navigation sidebar hides some elements, e.g. time/calendar pickers or filter horizontal widgets. It's a bug in a new feature, see #31034.

Change History (4)

by Mariusz Felisiak, 5 years ago

by Mariusz Felisiak, 5 years ago

comment:1 by Mariusz Felisiak, 5 years ago

Proposed solution:

diff --git a/django/contrib/admin/static/admin/css/nav_sidebar.css b/django/contrib/admin/static/admin/css/nav_sidebar.css
index 6fcfb26131..6968863e7c 100644
--- a/django/contrib/admin/static/admin/css/nav_sidebar.css
+++ b/django/contrib/admin/static/admin/css/nav_sidebar.css
@@ -93,7 +93,7 @@
     background: #ffc;
 }
 
-@media (max-width: 767px) {
+@media (max-width: 1024px) {
     #nav-sidebar, #toggle-nav-sidebar {
         display: none;
     }

comment:2 by Mariusz Felisiak, 5 years ago

Cc: Tom Carrick added
Description: modified (diff)
Owner: Mariusz Felisiak removed
Status: assignednew
Note: See TracTickets for help on using tickets.
Back to Top