Fix issue label spacing and hover (#13553)

Fixes: https://github.com/go-gitea/gitea/issues/13545
Regressed by: https://github.com/go-gitea/gitea/pull/13458
tokarchuk/v1.17
silverwind 4 years ago committed by GitHub
parent 6280af0324
commit 5c76c5ce44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      templates/repo/issue/view_content/sidebar.tmpl
  2. 2
      web_src/less/_repository.less
  3. 6
      web_src/less/themes/theme-arc-green.less

@ -453,7 +453,7 @@
</span> </span>
<div class="ui relaxed divided list"> <div class="ui relaxed divided list">
{{range .BlockingDependencies}} {{range .BlockingDependencies}}
<div class="item{{if .Issue.IsClosed}} is-closed{{end}} df ac sb"> <div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
<div class="item-left df jc fc f1"> <div class="item-left df jc fc f1">
<a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}"> <a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}} #{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
@ -481,7 +481,7 @@
</span> </span>
<div class="ui relaxed divided list"> <div class="ui relaxed divided list">
{{range .BlockedByDependencies}} {{range .BlockedByDependencies}}
<div class="item{{if .Issue.IsClosed}} is-closed{{end}} df ac sb"> <div class="item dependency{{if .Issue.IsClosed}} is-closed{{end}} df ac sb">
<div class="item-left df jc fc f1"> <div class="item-left df jc fc f1">
<a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}"> <a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}} #{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}

@ -111,7 +111,7 @@
display: none !important; display: none !important;
} }
.item { .dependency {
padding: 0; padding: 0;
white-space: nowrap; white-space: nowrap;
} }

@ -1419,12 +1419,6 @@ a.blob-excerpt:hover {
color: #dbdbdb; color: #dbdbdb;
} }
a.ui.label:hover,
a.ui.labels .label:hover {
background-color: #505667 !important;
color: #dbdbdb !important;
}
.sha.label, .sha.label,
.repository #repo-files-table .sha.label, .repository #repo-files-table .sha.label,
.repository #commits-table td.sha .sha.label, .repository #commits-table td.sha .sha.label,

Loading…
Cancel
Save