aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-12-02 05:07:59 +0100
committerM. Dent <dentm42@gmail.com>2018-12-02 05:07:59 +0100
commit132547a9d980b12dab4cc1fecc2d286ef9050723 (patch)
tree12222f3fd3f4b870ae0951cd5bf29f76c016d237 /view
parentfdb04592887bd9bb804ee63ac320d04fe0968a80 (diff)
parent8d4f6a7865faeeccf984083597893bb131437ecf (diff)
downloadvolse-hubzilla-132547a9d980b12dab4cc1fecc2d286ef9050723.tar.gz
volse-hubzilla-132547a9d980b12dab4cc1fecc2d286ef9050723.tar.bz2
volse-hubzilla-132547a9d980b12dab4cc1fecc2d286ef9050723.zip
Merge branch 'sticky_aside_fixes' into 'dev'
redbasic sticky aside fixes See merge request hubzilla/core!1415
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/js/redbasic.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 688e92148..8d3b795cc 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -121,9 +121,9 @@ function toggleAside() {
$('main').addClass('region_1-on')
$('<div id="overlay"></div>').appendTo('section');
$('#left_aside_wrapper').stick_in_parent({
- offset_top: $('nav').outerHeight(true) + 10,
- parent: '#region_1',
- spacer: '#left_aside_spacer'
+ offset_top: parseInt($('aside').css('padding-top')),
+ parent: 'main',
+ spacer: '.aside_spacer'
});
}
}