id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux
26066 Admin listview could handle a table wider than the screen more elegantly Alex P-B nobody "The main problem is either long bits of text OR large numbers of columns causing the table to become wider than the screen.
With the current overflow settings, this means an admin has to scroll to the bottom of the page to find the slider - which is boarding on unusable
My current solution is to duplicate ""changelists.css"" into my own project, and alter this part:
{{{
#changelist-form .results {
/*overflow-x: auto;*/
}
}}}
Simply removing the overflow method means the page is wider than the screen, and an admin can now easily scroll left and right.
This is not a very clean solution but *vastly* preferable to current situation!
Making the problem worse, is even a column of single digit numbers can be very wide if the column header is a few words long. My solution to this is as follows:
{{{
#changelist table thead th {
padding: 0;
/*white-space: nowrap;*/
vertical-align: middle;
}
}}}
This allows the headings to wrap - saving loads of space in several situations.
This seems to be an issue quite a few people were struggling with on stackoverflow, and is my first bug report. (On that note, Django is fantastic, this minor issue with default styling is my biggest complaint after months!)" Cleanup/optimization new contrib.admin 1.9 Normal admin css style layout sasha@… markus.magnuson@… Accepted 0 0 0 0 0 1