Skip to content

Commit

Permalink
Fix issue label spacing and hover (#13553)
Browse files Browse the repository at this point in the history
Fixes: #13545
Regressed by: #13458
  • Loading branch information
silverwind authored Nov 14, 2020
1 parent 6280af0 commit 5c76c5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions templates/repo/issue/view_content/sidebar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
display: none !important;
}

.item {
.dependency {
padding: 0;
white-space: nowrap;
}
Expand Down
6 changes: 0 additions & 6 deletions web_src/less/themes/theme-arc-green.less
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5c76c5c

Please sign in to comment.