Fix shadow when dragging from sprints

stable
Xavier Julián 2015-06-11 16:21:59 +02:00 committed by David Barragán Merino
parent 9bfd723dcb
commit 5aab9f563c
3 changed files with 11 additions and 6 deletions

View File

@ -168,7 +168,9 @@ SprintSortableDirective = ($repo, $rs, $rootscope) ->
scroll: true
dropOnEmpty: true
items: ".sprint-table .milestone-us-item-row",
connectWith: ".sprint,.backlog-table-body,.empty-backlog"
connectWith: ".sprint,.backlog-table-body,.empty-backlog",
placeholder: "row us-item-row sortable-placeholder",
forcePlaceholderSize:true
})
$el.on "multiplesortreceive", (event, ui) ->

View File

@ -130,10 +130,6 @@
&:last-child {
border-bottom: 0;
}
&.sortable-placeholder {
background: $whitish;
height: 40px;
}
&.ui-sortable-helper {
background: lighten($green-taiga, 60%);
box-shadow: 1px 1px 10px rgba($black, .1);
@ -146,6 +142,11 @@
}
}
}
.sortable-placeholder {
background: $whitish;
height: 40px;
width: 100%;
}
.row-selected {
background: lighten($green-taiga, 60%);
transition: background .2s ease-in;

View File

@ -38,7 +38,9 @@
margin-right: 1rem;
}
.involved-data {
flex-basis: 200px;
flex-basis: 220px;
flex-shrink: 0;
width: 220px;
}
.involved-team,
.involved-organization {