diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-05-08 11:41:28 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-05-08 11:58:56 -0700 |
commit | 8b1d0e624e4ca0d250cef4545283be89238a5dc5 (patch) | |
tree | 8522617bc0557ba974284f46a40471cbe794c4a7 /templates | |
parent | 06499b529d64b8e74f05fe353d877e43fc63184a (diff) |
html: Change the main table from "width: 100%" to min-width.
When a report contains many columns, the table may need to be larger
than the width of the page. Currently that happens due to the browser
looking at the table content in order to determine the size, but when we
switch to table-layout: fixed, it would limit it to the page size.
Doing this now avoids the problem before it first occurs.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.css b/templates/index.css index 754be23b7..16c18087b 100644 --- a/templates/index.css +++ b/templates/index.css @@ -4,7 +4,7 @@ table { border-collapse: collapse; padding-left: 1.75em; padding-right: 1.75em; - width: 100%; + min-width: 100%; } col:not(:first-child) { |