diff --git a/public/css/gogs.css b/public/css/gogs.css index bf43375b7..f245a56b8 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1434,35 +1434,45 @@ html, body { margin-bottom: 8px; } -#issue .milestone-item .label{ +#issue .milestone-item .label { margin-top: 8px; float: left; padding: .5em; margin-left: .8em; } -#issue .assignee,#issue .assignee ul{ +#issue .assignee.dropdown-menu, #issue .assignee ul { padding: 0; margin: 0; min-width: 300px; } -#issue .assignee li{ +#issue .assignee li { padding: 4px 12px; line-height: 30px; } -#issue .assignee li:hover{ +#issue .assignee li:hover { background-color: #e8f0ff; cursor: pointer; } -#issue .assignee li img{ +#issue .assignee li img, #issue .issue-bar .assignee img { width: 28px; height: 28px; margin-right: 12px; } +#issue .issue-bar > div { + padding-bottom: 8px; + margin-bottom: 8px; + border-bottom: 1px solid #CCC; +} + +#issue .issue-bar .assignee { + line-height: 30px; +} + /* wrapper and footer */ #wrapper { diff --git a/templates/issue/view.tmpl b/templates/issue/view.tmpl index 19dce4f2d..6c069f3c8 100644 --- a/templates/issue/view.tmpl +++ b/templates/issue/view.tmpl @@ -5,64 +5,65 @@
- {{if .IsIssueOwner}}Edit - - {{end}} - {{if .Issue.IsClosed}}Closed{{else}}Open{{end}} - {{.Issue.Poster.Name}} opened this issue - {{TimeSince .Issue.Created}} · {{.Issue.NumComments}} comments -
-+ {{if .IsIssueOwner}}Edit + + {{end}} + {{if .Issue.IsClosed}}Closed{{else}}Open{{end}} + {{.Issue.Poster.Name}} opened this issue + {{TimeSince .Issue.Created}} · {{.Issue.NumComments}} comments +
+