[Bug 12580] New: DataTables overflow their container elements
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12580 Bug ID: 12580 Summary: DataTables overflow their container elements Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org Currently, if you have a DataTable (or really any table probably but this is when I'm noticing it) that is wider than maybe 80% of the page, it will overflow its containing div element when you shrink your screen size. Most of us developers probably have wide monitors, so we never notice this, but if you shrink the window or use a narrower (ie older/cheaper) monitor, it'll become obvious quite rapidly. Search for all subscriptions and you'll notice the DataTable running off the right side of the page http://KOHA/cgi-bin/koha/serials/serials-search.pl?searched=1&title_filter= Look at the detail page for a bibliographic record that has a really long URL in an item record http://KOHA/cgi-bin/koha/catalogue/detail.pl?biblionumber=1 -- As Liz has mentioned, this is a problem that plagues many (re: most) web apps. It happens on Bugzilla as well if you narrow your screen. Tables and text-areas will overflow to the right. Even if we make it so that the containing <div> expands to the width of the overflowing table...there will come a point when there are siblings of the parent that won't stretch to the edge of the page. That is, the header will still be too short. I don't know if there really is a good solution to this... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12580 --- Comment #1 from David Cook <dcook@prosentient.com.au> --- An idea might be to add more "Show/hide" column options to more DataTables. This would work nicely: http://datatables.net/examples/api/show_hide.html However, that's in DataTables 1.10, whereas we're using DataTables 1.9 which is now considered legacy. Unfortunately, I couldn't find an equivalent in the legacy docs: http://legacy.datatables.net/ref -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org