diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport
index ce9690d71..e24cf1b6f 100755
--- a/htmlreport/cppcheck-htmlreport
+++ b/htmlreport/cppcheck-htmlreport
@@ -29,16 +29,17 @@ body {
.error {
background-color: #ffb7b7;
- margin: 0;
- padding: 0;
}
.error2 {
background-color: #faa;
border: 1px dotted black;
+ display: inline-block;
margin-left: 4px;
- margin-top: 4px;
- padding: 1px
+}
+
+.highlight .hll {
+ padding: 1px;
}
#page {
@@ -71,6 +72,9 @@ body {
}
#content {
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
border-left: thin solid #aaa;
float: left;
margin: 5px;
@@ -80,7 +84,7 @@ body {
.linenos {
border-right: thin solid #aaa;
- color: #bbb;
+ color: lightgray;
padding-right: 6px;
}
@@ -136,7 +140,7 @@ HTML_FOOTER = """