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
This commit is contained in:
silverwind 2020-11-14 02:16:46 +01:00 committed by GitHub
parent 6280af0324
commit 5c76c5ce44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 9 deletions

View file

@ -453,7 +453,7 @@
</span>
<div class="ui relaxed divided list">
{{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">
<a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}
@ -481,7 +481,7 @@
</span>
<div class="ui relaxed divided list">
{{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">
<a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">
#{{.Issue.Index}} {{.Issue.Title | RenderEmoji}}

View file

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

View file

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