Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Nov 2, 2023
1 parent 6743030 commit a5f5953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/repo/pulls/status.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Template Attributes:
{{range .CommitStatuses}}
<div class="commit-status-item">
{{template "repo/commit_status" .}}
<span class="status-context text truncate">{{.Context}} <span class="text light-2">{{.Description}}</span></span>
<div class="status-context gt-ellipsis">{{.Context}} <span class="text light-2">{{.Description}}</span></div>
<div class="ui status-details">
{{if $.is_context_required}}
{{if (call $.is_context_required .Context)}}<div class="ui label">{{ctx.Locale.Tr "repo.pulls.status_checks_requested"}}</div>{{end}}
Expand Down
5 changes: 1 addition & 4 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -3098,11 +3098,8 @@ tbody.commit-list {
}

.commit-status-item .status-context {
display: flex;
color: var(--color-text);
flex: 1;
justify-content: space-between;
gap: 8px;
max-width: calc(100% - 26px);
}

.commit-status-item .status-details {
Expand Down

0 comments on commit a5f5953

Please sign in to comment.