mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed embedded player a bit
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
#pageButtons{
|
||||
text-align: center;
|
||||
padding-top:10px;
|
||||
}
|
||||
|
||||
#pageButtons, #pageButtons a{
|
||||
@@ -27,6 +28,10 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#wrapper{
|
||||
height:calc(100% - 56px);
|
||||
}
|
||||
|
||||
.prev_page_hide, .next_page_hide{
|
||||
visibility: visible !important;
|
||||
color:gray;
|
||||
@@ -137,7 +142,7 @@
|
||||
background-color:grey;
|
||||
height:100vh;
|
||||
width:50vw;
|
||||
overflow-y:scroll;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#zoffbutton{
|
||||
|
||||
4
static/dist/embed.min.js
vendored
4
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
6
static/dist/main.min.js
vendored
6
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -79,9 +79,13 @@ var List = {
|
||||
|
||||
populate_list: function(msg)
|
||||
{
|
||||
if(!Helper.mobilecheck()){
|
||||
if(!Helper.mobilecheck() && !embed){
|
||||
List.can_fit = Math.round(($("#wrapper").height()) / 71)+1;
|
||||
List.element_height = (($("#wrapper").height()) / List.can_fit)-6;
|
||||
} else if(embed) {
|
||||
List.can_fit = Math.round(($("#wrapper").height()) / 91) + 1;
|
||||
List.element_height = (($("#wrapper").height()) / List.can_fit)-4;
|
||||
console.log("anal")
|
||||
}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;
|
||||
|
||||
Reference in New Issue
Block a user