Revert drag handle changes.

Thanks to Keelan !

Related #2704
This commit is contained in:
Lauri Ojansivu 2019-09-14 05:55:32 +03:00
parent 7b445dfc93
commit 57119868bb
9 changed files with 16 additions and 39 deletions

View file

@ -16,7 +16,6 @@ template(name="swimlaneFixedHeader")
unless currentUser.isCommentOnly
a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon
a.fa.fa-navicon.js-open-swimlane-menu
a.swimlane-header-menu-handle.handle.fa.fa-arrows.js-swimlane-header-handle
template(name="editSwimlaneTitleForm")
.list-composer

View file

@ -56,7 +56,7 @@ function initSortable(boardComponent, $listsDom) {
$listsDom.sortable({
tolerance: 'pointer',
helper: 'clone',
handle: '.js-list-handle',
handle: '.js-list-header',
items: '.js-list:not(.js-list-composer)',
placeholder: 'list placeholder',
distance: 7,
@ -156,8 +156,7 @@ BlazeComponent.extendComponent({
'input',
'textarea',
'p',
'.js-list-handle',
'.js-swimlane-header-handle',
'.js-list-header',
];
if (
$(evt.target).closest(noDragInside.join(',')).length === 0 &&

View file

@ -50,14 +50,6 @@
margin-left: 5px
margin-right: 10px
.swimlane-header-menu-handle
position: absolute
padding: 7px
top: 50%
transform: translateY(-50%)
left: 300px
font-size: 18px
.list-group
height: 100%