From fe6fc21e14098ba2e53e747aacb8099b89408836 Mon Sep 17 00:00:00 2001 From: versat Date: Wed, 8 Jan 2020 14:58:52 +0100 Subject: [PATCH] Fix #9501: htmlreport: Line number position is shifted The 1 pixel dotted border that is drawn around every Cppcheck error message adds 2 extra pixels for every line with an error message. For more than very few error messages in a file the discrepancy is clearly visible and line numbering gets wrong. This commit removes the dotted border as it is not necessary. The error message is highlighted with a red background and is still clearly visible. --- htmlreport/cppcheck-htmlreport | 1 - 1 file changed, 1 deletion(-) diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport index 009394f96ab..1a81367e527 100755 --- a/htmlreport/cppcheck-htmlreport +++ b/htmlreport/cppcheck-htmlreport @@ -43,7 +43,6 @@ h1 { .error2 { background-color: #faa; - border: 1px dotted black; display: inline-block; margin-left: 4px; }