Skip to content

Commit eebcb41

Browse files
committed
fix
1 parent 7bac74b commit eebcb41

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

templates/repo/commit_statuses.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{{if .Statuses}}
22
{{if and (eq (len .Statuses) 1) .Status.TargetURL}}
3-
<a class="commit-statuses flex-text-block muted {{.AdditionalClasses}}" data-tippy="commit-statuses" href="{{.Status.TargetURL}}">
3+
<a class="commit-statuses flex-text-block tw-no-underline {{.AdditionalClasses}}" data-tippy="commit-statuses" href="{{.Status.TargetURL}}">
44
{{template "repo/commit_status" .Status}}
55
</a>
66
{{else}}
7-
<span class="commit-statuses flex-text-block muted {{.AdditionalClasses}}" data-tippy="commit-statuses" tabindex="0">
7+
<span class="commit-statuses flex-text-block tw-no-underline {{.AdditionalClasses}}" data-tippy="commit-statuses" tabindex="0">
88
{{template "repo/commit_status" .Status}}
99
</span>
1010
{{end}}

web_src/css/repo.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,18 @@ td .commit-summary {
117117
.latest-commit {
118118
display: flex;
119119
flex: 1;
120-
gap: 6px;
121120
align-items: center;
122121
overflow: hidden;
123122
text-overflow: ellipsis;
124123
gap: 0.25em;
125124
}
126125

126+
@media (max-width: 767.98px) {
127+
.latest-commit .commit-id-short {
128+
display: none;
129+
}
130+
}
131+
127132
.repo-path {
128133
display: flex;
129134
overflow-wrap: anywhere;
@@ -1671,10 +1676,6 @@ tbody.commit-list {
16711676
white-space: nowrap;
16721677
}
16731678

1674-
.latest-commit .sha.label {
1675-
margin: 0;
1676-
}
1677-
16781679
.latest-commit .message-wrapper {
16791680
max-width: calc(100% - 2.5rem);
16801681
}

0 commit comments

Comments
 (0)