1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-03 09:38:31 +00:00

3.5.322. Fix the channel bar and the video manager player size.

This commit is contained in:
SirStendec 2016-10-11 23:00:05 -04:00
parent 3dcba207b4
commit d098e402b4
4 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,9 @@
<div class="list-header">3.5.322 <time datetime="2016-10-03">(2016-10-11)</time></div>
<ul class="chat-menu-content menu-side-padding">
<li>Fixed: The Video Manager's video player was a bit too big.</li>
<li>Fixed: The Channel Bar appears over the arrows to open and close the sidebars and theater mode.</li>
</ul>
<div class="list-header">3.5.321 <time datetime="2016-10-03">(2016-10-11)</time></div>
<ul class="chat-menu-content menu-side-padding">
<li>Fixed: Theater mode video player height.</li>

View file

@ -222,7 +222,7 @@ FFZ.prototype.setup_layout = function() {
height = size[1],
host_height = size[2];
return "<style>.app-main:not(.theatre) #player,.dynamic-player, .dynamic-player object, .dynamic-player video{width:" + width + "px !important;height:" + height + "px !important} .cn-hosted .dynamic-target-player,.cn-hosted .dynamic-target-player object,.app-main:not(.theatre) .cn-hosted #player, .cn-hosted .dynamic-target-player video{width:" + width + "px !important;height:" + host_height + "px !important}</style><style>.dynamic-player .player object, .dynamic-player .player video{width:100% !important; height:100% !important}</style>";
return "<style>body[data-current-path^=\"user.channel.\"] .app-main:not(.theatre) #player,.dynamic-player, .dynamic-player object, .dynamic-player video{width:" + width + "px !important;height:" + height + "px !important} .cn-hosted .dynamic-target-player,.cn-hosted .dynamic-target-player object,body[data-current-path^=\"user.channel.\"] .app-main:not(.theatre) .cn-hosted #player, .cn-hosted .dynamic-target-player video{width:" + width + "px !important;height:" + host_height + "px !important}</style><style>.dynamic-player .player object, .dynamic-player .player video{width:100% !important; height:100% !important}</style>";
}.property("playerSize"),
ffzPortraitWarning: function() {

View file

@ -34,7 +34,7 @@ FFZ.msg_commands = {};
// Version
var VER = FFZ.version_info = {
major: 3, minor: 5, revision: 321,
major: 3, minor: 5, revision: 322,
toString: function() {
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
}

View file

@ -3554,8 +3554,6 @@ body.ffz-bttv #ffz-feed-tabs .tabs { margin-bottom: 0 }
body:not(.ffz-channel-bar-bottom).ffz-small-player #player .dynamic-player { margin-top: 50px }
body:not(.ffz-channel-bar-bottom).ffz-small-player.ffz-minimal-channel-bar #player .dynamic-player { margin-top: 10px }
.cn-bar-fixed { z-index: 100 }
.ffz-minimal-channel-bar .cn-bar-fixed:hover { top: 0 }
.ffz-minimal-channel-bar.ffz-channel-bar-bottom .cn-bar-fixed { top: auto; bottom: -40px }
.ffz-minimal-channel-bar.ffz-channel-bar-bottom .cn-bar-fixed:hover { bottom: 0 }