Closed georgemsun closed 4 years ago
Added table-layout: fixed;
which prevents overflow off the page. I think this is preferable to an overflow-x scroll;
which obscures columns of the table and is not intuitively scrollable.
Removed table-layout: fixed;
as it was making column widths all the same. And added a parent element div.table
with overflow-x: scroll;
for screen widths narrower than 800px
. Tables can now be horizontally scrolled on small screens.
Changed overflow-x: scroll;
to overflow-x: auto;
by recommendation of Nydauron.
Add
max-width
andoverflow: scroll
specifications to/var/www/html/src/css/tests.css
so that pages like the Test Exchange which have wide tables do not run off the page on small screens.