Skip to content

Commit 4220336

Browse files
committed
tweak blame commit link and add missing underline styles
1 parent 9f96b6e commit 4220336

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

templates/repo/blame.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
{{$row.Avatar}}
4242
</div>
4343
<div class="blame-message">
44-
<a href="{{$row.CommitURL}}" title="{{$row.CommitMessage}}">
44+
<a class="suppressed tw-text-text" href="{{$row.CommitURL}}" title="{{$row.CommitMessage}}">
4545
{{$row.CommitMessage}}
4646
</a>
4747
</div>

web_src/css/base.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ progress::-moz-progress-bar {
215215
a {
216216
color: var(--color-primary);
217217
cursor: pointer;
218-
text-decoration: none;
218+
text-decoration-line: none;
219219
text-decoration-skip-ink: all;
220220
}
221221

@@ -239,6 +239,11 @@ a.muted:hover [class*="color-text"],
239239
color: var(--color-primary);
240240
}
241241

242+
a.muted:hover,
243+
a.suppressed:hover {
244+
text-decoration-line: underline;
245+
}
246+
242247
a.silenced:hover,
243248
a.suppressed:hover {
244249
color: inherit;

0 commit comments

Comments
 (0)