Compare to revisionBase instead of projectHead

- Makes diff stat badge clickable and navigates users to previous
  revision or revision base.
    - If base has changed between revisions uses latest patch base
This commit is contained in:
Sebastian Martinez
2024-03-18 15:50:48 +01:00
committed by Rūdolfs Ošiņš
parent 7bb1c74fb2
commit cee200e629
5 changed files with 74 additions and 76 deletions
+6
View File
@@ -14,6 +14,12 @@
border-radius: var(--border-radius-round);
overflow: hidden;
}
.badge:hover .positive {
background-color: var(--color-fill-diff-green);
}
.badge:hover .negative {
background-color: var(--color-fill-diff-red);
}
.positive {
display: flex;
padding: 0 6px;