Browse Source

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
tags/v1.15.0-dev
silverwind 3 years ago
parent
commit
5c76c5ce44
No account linked to committer's email address

+ 2
- 2
templates/repo/issue/view_content/sidebar.tmpl 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}}

+ 1
- 1
web_src/less/_repository.less View File

@@ -111,7 +111,7 @@
display: none !important;
}

.item {
.dependency {
padding: 0;
white-space: nowrap;
}

+ 0
- 6
web_src/less/themes/theme-arc-green.less 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,

Loading…
Cancel
Save