diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss index c4fb0c2c8e9..3ea6be9f638 100644 --- a/app/assets/stylesheets/pages/labels.scss +++ b/app/assets/stylesheets/pages/labels.scss @@ -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; + } } } diff --git a/app/views/shared/_label.html.haml b/app/views/shared/_label.html.haml index c2357a97975..d1d5d707410 100644 --- a/app/views/shared/_label.html.haml +++ b/app/views/shared/_label.html.haml @@ -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