aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-01 21:30:18 +0100
committerMario Vavti <mario@mariovavti.com>2018-12-01 21:30:18 +0100
commit8d4f6a7865faeeccf984083597893bb131437ecf (patch)
tree2b5857ffd88fb3846440927b841bbd99eadb6dec /view/theme/redbasic
parentcded6b11366e15d6d4ac3eb6d9f86f4d0a60fa7c (diff)
downloadvolse-hubzilla-8d4f6a7865faeeccf984083597893bb131437ecf.tar.gz
volse-hubzilla-8d4f6a7865faeeccf984083597893bb131437ecf.tar.bz2
volse-hubzilla-8d4f6a7865faeeccf984083597893bb131437ecf.zip
redbasic sticky aside fixes
Diffstat (limited to 'view/theme/redbasic')
-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'
});
}
}