Fix cursor for pri/other

This commit is contained in:
Luke Bennett 2018-04-24 13:26:50 +01:00
parent dc67ab2978
commit 6b07a352a9
No known key found for this signature in database
GPG Key ID: A738E9C68D3BF31A
2 changed files with 8 additions and 12 deletions

View File

@ -73,30 +73,26 @@
.manage-labels-list {
> li:not(.empty-message):not(.is-not-draggable) {
background-color: $white-light;
cursor: move;
cursor: -webkit-grab;
cursor: -moz-grab;
margin-bottom: 5px;
display: flex;
justify-content: space-between;
padding: 11px 10px 11px $gl-padding;
border-radius: $border-radius-default;
&:active {
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
}
&.sortable-ghost {
opacity: 0.3;
}
.prioritized-labels & {
box-shadow: 0 1px 2px $issue-boards-card-shadow;
}
cursor: move;
cursor: -webkit-grab;
cursor: -moz-grab;
&.no-hand {
cursor: auto;
&:active {
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
}
}
}

View File

@ -5,7 +5,7 @@
- show_label_merge_requests_link = show_label_issuables_link?(label, :merge_requests, project: @project)
- show_label_issues_link = show_label_issuables_link?(label, :issues, project: @project)
%li.label-list-item{ class: ('no-hand' unless label.priority?), id: label_css_id, data: { id: label.id } }
%li.label-list-item{ id: label_css_id, data: { id: label.id } }
= render "shared/label_row", label: label
%ul.label-actions-list
%li.inline