Updates to playlist sizing on screen width

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-27 13:31:03 +02:00
parent 39797f82ab
commit cfecbbf3e2
4 changed files with 15 additions and 5 deletions

View File

@@ -2212,8 +2212,13 @@ nav ul li:hover, nav ul li.active {
width:100vw;
}
.playlist-tabs-loggedIn, .playlist-tabs {
width: calc(100%) !important;
}
.tabs_height{
height:auto !important;
height:calc(100vh - 48px - 64px - 134px) !important;
overflow:initial;
}
@@ -2316,6 +2321,11 @@ nav ul li:hover, nav ul li.active {
margin-top:-6px;
}
#playlist {
margin-left: 8px;
width: calc(100% - 8px);
}
#player{
pointer-events:none;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -103,8 +103,8 @@ var List = {
List.can_fit = Math.round(($("#wrapper").height()) / 91) + 1;
List.element_height = (($("#wrapper").height()) / List.can_fit)-4;
}else {
List.can_fit = Math.round(($(window).height() - $(".tabs").height() - $("header").height() -66) / 71)+1;
List.element_height = (($(window).height() - $(".tabs").height() - $("header").height() -66) / List.can_fit)-6;
List.can_fit = Math.round(($(window).height() - $(".tabs").height() - $("header").height() - 64 - 8) / 71)+1;
List.element_height = (($(window).height() - $(".tabs").height() - $("header").height() - 64 - 8) / List.can_fit)-5;
}
if(List.element_height < 55.2){
List.element_height = 55.2;