Skip to content

Commit

Permalink
Fix for issue #670
Browse files Browse the repository at this point in the history
Made the number color black
  • Loading branch information
tsantalis committed Mar 3, 2024
1 parent 2cd07d8 commit 59475dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/gui/webdiff/DirectoryDiffView.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void renderOn(HtmlCanvas html) throws IOException {
.div(class_("card-header"))
.h4(class_("card-title mb-0"))
.write("Modified files ")
.span(class_("badge badge-secondary")).content(comperator.getModifiedFilesName().size())
.span(class_("badge badge-secondary").style("color:black")).content(comperator.getModifiedFilesName().size())
._h4()
._div()
.render_if(new ModifiedFiles(comperator.getModifiedFilesName()), comperator.getModifiedFilesName().size() > 0)
Expand All @@ -48,7 +48,7 @@ public void renderOn(HtmlCanvas html) throws IOException {
.div(class_("card-header bg-danger"))
.h4(class_("card-title mb-0"))
.write("Deleted files ")
.span(class_("badge badge-secondary")).content(comperator.getRemovedFilesName().size())
.span(class_("badge badge-secondary").style("color:black")).content(comperator.getRemovedFilesName().size())
._h4()
._div()
.render_if(new AddedOrDeletedFiles(comperator.getRemovedFilesName()),
Expand All @@ -60,7 +60,7 @@ public void renderOn(HtmlCanvas html) throws IOException {
.div(class_("card-header bg-success"))
.h4(class_("card-title mb-0"))
.write("Added files ")
.span(class_("badge badge-secondary")).content(comperator.getAddedFilesName().size())
.span(class_("badge badge-secondary").style("color:black")).content(comperator.getAddedFilesName().size())
._h4()
._div()
.render_if(new AddedOrDeletedFiles(comperator.getAddedFilesName()),
Expand Down

0 comments on commit 59475dd

Please sign in to comment.