Adding song and removing song comes from two different sides now

This commit is contained in:
Kasper Rynning-Tønnesen
2017-06-16 16:08:14 +02:00
parent 7e8136752b
commit 2f60f92dbd
4 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
transition: all .3s !important; transition: all .3s !important;
} }
.card{ .card {
cursor:pointer; cursor:pointer;
background-color: rgba(255, 255, 255, 0.04) !important; background-color: rgba(255, 255, 255, 0.04) !important;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -838,7 +838,7 @@ var List = {
var del_attr; var del_attr;
//song.find(".list-song"); //song.find(".list-song");
if(transition) { if(transition) {
song.find(".list-song").css("transform", "translateX(-100%)"); song.find(".list-song").css("transform", "translateX(100%)");
song.find(".list-song").addClass("side_away"); song.find(".list-song").addClass("side_away");
} }
song.find(".list-song").css("height", List.element_height); song.find(".list-song").css("height", List.element_height);