mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed sizing issue of playlistitems in client
This commit is contained in:
@@ -162,8 +162,8 @@ var List = {
|
||||
List.can_fit = Math.round((Helper.computedStyle(".tabs", "height") - Helper.computedStyle("header", "height") - 64 - 40) / 71)+1;
|
||||
List.element_height = ((window.innerHeight - Helper.computedStyle(".tabs", "height") - Helper.computedStyle("header", "height") - 64 - 40) / List.can_fit)-5;
|
||||
} else {
|
||||
List.can_fit = Math.round(window.innerHeight - Helper.computedStyle("header", "height") / 80)+1;
|
||||
List.element_height = (window.innerHeight - Helper.computedStyle("header", "height") / List.can_fit) - 8;
|
||||
List.can_fit = Math.round(Helper.computedStyle("#wrapper", "height") / 71)+1;
|
||||
List.element_height = (Helper.computedStyle("#wrapper", "height") / List.can_fit)-5.3;
|
||||
}
|
||||
if(List.element_height < 55.2 && !client){
|
||||
List.can_fit = List.can_fit - 1;
|
||||
|
||||
Reference in New Issue
Block a user