mirror of https://github.com/calzoneman/sync.git
Minor fixes
This commit is contained in:
parent
96cfe0070d
commit
0f4c29952f
|
@ -46,7 +46,7 @@
|
|||
|
||||
#chatheader, #currenttitle {
|
||||
border: 1px solid #cccccc;
|
||||
border-bottom: 0;
|
||||
border-bottom-width: 0;
|
||||
border-radius: 5px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
|
@ -361,6 +361,7 @@ li.ui-sortable-helper, li.ui-sortable-placeholder + li.queue_entry {
|
|||
padding: 5px;
|
||||
max-width: 200px;
|
||||
max-height: 300px;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.user-dropdown {
|
||||
|
|
|
@ -891,7 +891,6 @@ function handlePermissionChange() {
|
|||
setVisible("#chatline", CLIENT.rank >= 0);
|
||||
setVisible("#queue", hasPermission("seeplaylist"));
|
||||
setVisible("#plmeta", hasPermission("seeplaylist"));
|
||||
resizeStuff();
|
||||
$("#getplaylist").attr("disabled", !hasPermission("seeplaylist"));
|
||||
|
||||
setVisible("#showmediaurl", hasPermission("playlistadd"));
|
||||
|
@ -975,6 +974,7 @@ function handlePermissionChange() {
|
|||
|
||||
$("#chatline").attr("disabled", !hasPermission("chat"));
|
||||
rebuildPlaylist();
|
||||
resizeStuff();
|
||||
}
|
||||
|
||||
function fixWeirdButtonAlignmentIssue() {
|
||||
|
@ -1518,7 +1518,7 @@ function resizeStuff() {
|
|||
return;
|
||||
}
|
||||
VWIDTH = $("#videowrap").width() + "";
|
||||
VHEIGHT = Math.floor(parseInt(VWIDTH) * 9 / 16) + "";
|
||||
VHEIGHT = Math.floor(parseInt(VWIDTH) * 9 / 16 + 1) + "";
|
||||
$("#ytapiplayer").width(VWIDTH).height(VHEIGHT);
|
||||
|
||||
// Only execute if we are on a fluid layout
|
||||
|
|
Loading…
Reference in New Issue