Skip to content

Commit b503a29

Browse files
committed
use css display none
1 parent de825be commit b503a29

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

SharedProject/Core/ReportGenerator/ReportGeneratorUtil.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,16 @@ private string GetFontNameSize()
885885
return $"{FontSize}{FontName}";
886886
}
887887
888+
private string HideCyclomaticComplexityLink()
889+
{
890+
return @"
891+
risk-hotspots > div > table > thead > tr > th:last-of-type > a:last-of-type {
892+
display:none
893+
}
894+
";
895+
896+
}
897+
888898
public string ProcessUnifiedHtml(string htmlForProcessing, string reportOutputFolder)
889899
{
890900
previousFontSizeName = GetFontNameSize();
@@ -1020,7 +1030,7 @@ public string ProcessUnifiedHtml(string htmlForProcessing, string reportOutputFo
10201030
table td {{ white-space: nowrap; }}
10211031
table.coverage {{ width:150px;height:13px }}
10221032
body {{ padding-left:3px;padding-right:3px;padding-bottom:3px }}
1023-
1033+
{HideCyclomaticComplexityLink()}
10241034
body {{ -webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none }}
10251035
table.overview th, table.overview td {{ white-space: nowrap; word-break: normal; padding-left:10px;padding-right:10px; }}
10261036
{GetGroupingCss(namespacedClasses)}

0 commit comments

Comments
 (0)