IMPR: Header, sidebar and video preview fixtures

This commit is contained in:
Tony Air 2020-07-31 01:07:34 +07:00
parent bd2559a8bc
commit 6612b3946d
3 changed files with 4 additions and 4 deletions

2
dist/js/app.js vendored

File diff suppressed because one or more lines are too long

2
dist/js/app.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -53,9 +53,9 @@ const SidebarUI = (($) => {
$innerWrapper.attr('style', '');
}else if(scrollPos >= (contentOffset + contentOffsetHeight - $innerWrapper[0].offsetHeight)){
// bottom pos
$innerWrapper.attr('style', `position:absolute;bottom:${fontSize}px`);
$innerWrapper.attr('style', `position:absolute;bottom:${fontSize}px`);
}else {
// scrolled pos
// scrolled pos
$innerWrapper.attr('style', `position:fixed;top:${fontSize}px;width:${sidebarWidth}px`);
}