diff --git a/dqgen/resources/html_templates/static/layout.html b/dqgen/resources/html_templates/static/layout.html index 5b38430..243c4a4 100644 --- a/dqgen/resources/html_templates/static/layout.html +++ b/dqgen/resources/html_templates/static/layout.html @@ -53,16 +53,34 @@ margin-top: 0.5em; } + /* Enable horizontal scrolling for wide tables */ + #print-container { + overflow-x: auto; + } + + .dataTables_wrapper { + overflow-x: auto; + } + + table.display { + width: auto; + min-width: 100%; + } + @media print { #toc { visibility: hidden; } - #print-container { - width: 100% !important; - position: absolute; - left: 0; - top: 0; + #print-container, + .dataTables_wrapper, + .dataTables_scrollHead, + .dataTables_scrollBody { + overflow: visible !important; + width: auto !important; + } + table.display { + width: auto !important; } footer { @@ -115,17 +133,32 @@

{{ conf.title }}<