From 14c9688a7a6f8480100e49aa3e6d676a54328d35 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 2 Nov 2023 19:45:23 +0800 Subject: [PATCH] fix --- templates/repo/pulls/status.tmpl | 2 +- web_src/css/repo.css | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/templates/repo/pulls/status.tmpl b/templates/repo/pulls/status.tmpl index 2b1c7ca594ece..e7e59eea536b1 100644 --- a/templates/repo/pulls/status.tmpl +++ b/templates/repo/pulls/status.tmpl @@ -37,7 +37,7 @@ Template Attributes: {{range .CommitStatuses}}
{{template "repo/commit_status" .}} - {{.Context}} {{.Description}} +
{{.Context}} {{.Description}}
{{if $.is_context_required}} {{if (call $.is_context_required .Context)}}
{{ctx.Locale.Tr "repo.pulls.status_checks_requested"}}
{{end}} diff --git a/web_src/css/repo.css b/web_src/css/repo.css index ac18f33bc42de..8c3b2e2332a87 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -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;