Skip to content

Commit

Permalink
Fixed #69: Fixed width of coverage bars
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Nov 9, 2016
1 parent dfc3cc2 commit e7be115
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ For further details take a look at LICENSE.txt.

CHANGELOG

2.5.1.0

* Fix: Issue #69: Fixed width of coverage bars

2.5.0.0

* New: Issue #57: Added support for OpenCover's 'Crap Score' and 'NPath
Expand Down
4 changes: 2 additions & 2 deletions ReportGenerator.Reporting/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.5.0.0")]
[assembly: AssemblyFileVersion("2.5.0.0")]
[assembly: AssemblyVersion("2.5.1.0")]
[assembly: AssemblyFileVersion("2.5.1.0")]

[assembly: CLSCompliant(true)]
2 changes: 1 addition & 1 deletion ReportGenerator.Reporting/Rendering/HtmlRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public void BeginMetricsTable(MethodMetric metric)
throw new ArgumentNullException(nameof(metric));
}

this.reportTextWriter.WriteLine("<table class=\"overview\">");
this.reportTextWriter.WriteLine("<table class=\"overview table-fixed\">");
this.reportTextWriter.Write("<thead><tr>");

this.reportTextWriter.Write("<th>{0}</th>", WebUtility.HtmlEncode(ReportResources.Method));
Expand Down
4 changes: 2 additions & 2 deletions ReportGenerator.Reporting/Rendering/resources/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ a:hover { color: #000; text-decoration: none; }

.container { margin: auto; max-width: 1500px; width: 90%; background-color: #fff; display: table; box-shadow: 0 0 60px #7d7d7d; height: 100%; }
.containerleft { display: table-cell; padding: 0 20px 20px 20px; }
.containerright { border-left: solid 1px #6f6f6f; display: table-cell; width: 340px; background-color: #e5e5e5; height: 100%; }
.containerright { border-left: solid 1px #6f6f6f; display: table-cell; width: 340px; min-width: 340px; background-color: #e5e5e5; height: 100%; }
.containerrightfixed { position: fixed; padding: 0 20px 20px 20px; width: 300px; overflow-y: auto; height: 100%; top: 0; bottom: 0; }
.containerrightfixed h1 { background-color: #c00; }
.containerrightfixed label, .containerright a { white-space: nowrap; overflow: hidden; display: inline-block; max-width: 300px; text-overflow: ellipsis; }
Expand Down Expand Up @@ -103,7 +103,7 @@ a.collapsed { background-image: url(pic_collapsed.png), url(data:image/png;base6
.column98 { width: 98px; }
.column100 { width: 100px; }
.column105 { width: 105px; }
.column112 { width: 112px; min-width: 112px; }
.column112 { width: 112px; }
.column135 { width: 135px; }

.covered0 { width: 0px; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ var AssemblyTable = React.createClass({
}

return (
React.DOM.table({ className: 'overview' },
React.DOM.table({ className: 'overview table-fixed' },
React.DOM.colgroup(null,
React.DOM.col(null),
React.DOM.col({ className: 'column90' }),
Expand Down
4 changes: 2 additions & 2 deletions ReportGenerator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.5.0.0")]
[assembly: AssemblyFileVersion("2.5.0.0")]
[assembly: AssemblyVersion("2.5.1.0")]
[assembly: AssemblyFileVersion("2.5.1.0")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]

[assembly: CLSCompliant(true)]
Expand Down
4 changes: 2 additions & 2 deletions ReportGeneratorTest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.5.0.0")]
[assembly: AssemblyFileVersion("2.5.0.0")]
[assembly: AssemblyVersion("2.5.1.0")]
[assembly: AssemblyFileVersion("2.5.1.0")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]

0 comments on commit e7be115

Please sign in to comment.