aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-01 20:30:18 +0000
committerMario <mario@mariovavti.com>2018-12-02 10:18:20 +0100
commit05c422ef233ace1e827a7b5a82b466581e45c89c (patch)
tree0090d6c7ea51f78851587bcfea0f7aa8e6423c56
parent51d274961b5d8e072eb8493b37182c21d4ac3e94 (diff)
downloadvolse-hubzilla-05c422ef233ace1e827a7b5a82b466581e45c89c.tar.gz
volse-hubzilla-05c422ef233ace1e827a7b5a82b466581e45c89c.tar.bz2
volse-hubzilla-05c422ef233ace1e827a7b5a82b466581e45c89c.zip
redbasic sticky aside fixes
(cherry picked from commit 8d4f6a7865faeeccf984083597893bb131437ecf)
-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'
});
}
}