aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-10-04 21:00:00 +0200
committerMario Vavti <mario@mariovavti.com>2023-10-04 21:00:00 +0200
commit5265c774ae5917b5200510e668f8182eb07af750 (patch)
tree2933ae33ade766685f103835b2527594a18ae4c1 /view/theme
parentd1421d720c3f8ae9a7c409423fcbea4ff8132676 (diff)
downloadvolse-hubzilla-5265c774ae5917b5200510e668f8182eb07af750.tar.gz
volse-hubzilla-5265c774ae5917b5200510e668f8182eb07af750.tar.bz2
volse-hubzilla-5265c774ae5917b5200510e668f8182eb07af750.zip
move right aside into bottom of left aside if screen width is < 1200px
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/js/redbasic.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 4ad3665fe..0f2617cc0 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -55,6 +55,11 @@ $(document).ready(function() {
}
$('#css3-calc').remove(); // Remove the test element
+ if($(window).width() < 1200) {
+ $("#right_aside_wrapper").children().detach().appendTo('#left_aside_wrapper');
+ $('#notifications_wrapper').addClass('d-none');
+ }
+
if (document.querySelector('#region_1')) {
stickyScroll('.aside_spacer_left', '.aside_spacer_top_left', 'section', parseFloat(document.querySelector('main').getBoundingClientRect().top), 20);