diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index 5913f59fe82e2..425a71aee8d83 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -11,12 +11,12 @@ {{$.locale.Tr "repo.milestones.open"}} {{else}} - {{$.locale.Tr "repo.milestones.close"}} + {{$.locale.Tr "repo.milestones.close"}} {{end}} - {{.locale.Tr "repo.milestones.edit"}} + {{.locale.Tr "repo.milestones.edit"}} {{end}} - {{.locale.Tr "repo.issues.new"}} + {{.locale.Tr "repo.issues.new"}} {{end}} @@ -50,7 +50,7 @@
-
+
{{template "repo/issue/openclose" .}}
diff --git a/web_src/css/shared/milestone.css b/web_src/css/shared/milestone.css index 91e6b5e387c4f..df78487f0100b 100644 --- a/web_src/css/shared/milestone.css +++ b/web_src/css/shared/milestone.css @@ -59,4 +59,15 @@ flex-direction: column; gap: 8px; } + + .issue-list-toolbar.milestone { + flex-direction: column; + } + + .milestone > .issue-list-toolbar-right > .labels > .item { + flex-direction: row; + display: flex; + flex-wrap: wrap; + max-width: fit-content; + } }