Skip to content

Commit b50e2d4

Browse files
authored
Merge pull request #646 from heremaps/table-width-100
Use the full browser window width for the tables in the HTML report
2 parents 32d87ec + 472a17e commit b50e2d4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/formattedcode/templates/html/template.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,19 @@
3333
<meta charset="utf-8">
3434
<title>ScanCode results</title>
3535
<style type="text/css">
36-
table {
36+
table {
3737
border-collapse:collapse;
3838
border: 1px solid gray;
3939
margin-bottom: 20px;
40+
width: 100%;
4041
}
41-
td{
42+
td {
4243
padding: 5px 5px;
4344
border-style: solid;
4445
border-width: 1px;
4546
overflow: hidden;
4647
}
47-
th{
48+
th {
4849
padding:10px 5px;
4950
border-style: solid;
5051
border-width: 1px;
@@ -53,9 +54,9 @@
5354
color: #fff;
5455
background-color: #5E81B7;
5556
}
56-
tr:nth-child(even) { background-color:#FFFFFF; }
57+
tr:nth-child(even) { background-color:#FFFFFF; }
5758
tr:nth-child(odd) { background-color:#F9F9F9; }
58-
tr:hover {background-color: #EEEEEE;}
59+
tr:hover { background-color: #EEEEEE; }
5960
* {
6061
font-family: Helvetica, Arial, sans-serif;
6162
font-weight: normal;

0 commit comments

Comments
 (0)