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> </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}}

View File

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

View File

@ -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,