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 14c9688
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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="gt-f1 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
8 changes: 0 additions & 8 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -3097,14 +3097,6 @@ tbody.commit-list {
flex-shrink: 0;
}

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

.commit-status-item .status-details {
display: flex;
align-items: center;
Expand Down

0 comments on commit 14c9688

Please sign in to comment.