Skip to content

Commit df1cdcc

Browse files
committed
style with muted instead and add a comment
1 parent b6b0ce9 commit df1cdcc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

web_src/js/components/DiffFileTreeItem.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/>
1111
<a
1212
v-if="item.isFile"
13-
class="file ellipsis"
13+
class="file ellipsis muted"
1414
:href="item.isFile ? '#diff-' + item.file.NameHash : ''"
1515
>{{ item.name }}</a>
1616
<SvgIcon
@@ -88,10 +88,6 @@ span.svg-icon.file {
8888
color: var(--color-secondary-dark-7);
8989
}
9090
91-
a.file {
92-
color: var(--color-text);
93-
}
94-
9591
span.svg-icon.directory {
9692
color: var(--color-primary);
9793
}

web_src/less/_repository.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,8 @@
16141614
margin-right: .25rem;
16151615
}
16161616

1617+
// Because the translations contain the <strong> we need to style with nth-of-type
1618+
16171619
.diff-detail-stats strong:nth-of-type(1) {
16181620
color: var(--color-yellow);
16191621
}

0 commit comments

Comments
 (0)