diff options
author | Mario <mario@mariovavti.com> | 2021-02-25 12:55:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-25 12:55:19 +0000 |
commit | b29e121113a588d88b3d8f4265bece2c5e997cef (patch) | |
tree | c48d9caf50633015374ac07cda5c2b91aba150f7 /view/php | |
parent | a033c439f3486c6ce31fb5d680c363ce0582d451 (diff) | |
download | volse-hubzilla-b29e121113a588d88b3d8f4265bece2c5e997cef.tar.gz volse-hubzilla-b29e121113a588d88b3d8f4265bece2c5e997cef.tar.bz2 volse-hubzilla-b29e121113a588d88b3d8f4265bece2c5e997cef.zip |
replace sticky_kit with a simpler homwgrown solution (still a bit raw) and slightly change the way we load new content so that people with a long aside column do not have to scroll all the way to the bottom for loading the next page
Diffstat (limited to 'view/php')
-rw-r--r-- | view/php/default.php | 4 | ||||
-rw-r--r-- | view/php/theme_init.php | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/view/php/default.php b/view/php/default.php index df9b02c4e..6f0735a11 100644 --- a/view/php/default.php +++ b/view/php/default.php @@ -12,12 +12,12 @@ <main> <div class="content"> <div class="columns"> - <aside id="region_1"><div class="aside_spacer"><div id="left_aside_wrapper"><?php if(x($page,'aside')) echo $page['aside']; ?></div></div></aside> + <aside id="region_1"><div class="aside_spacer_top_left"></div><div class="aside_spacer_left"><div id="left_aside_wrapper" class="aside_wrapper"><?php if(x($page,'aside')) echo $page['aside']; ?></div></div></aside> <section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?> <div id="page-footer"></div> <div id="pause"></div> </section> - <aside id="region_3" class="d-none d-xl-block"><div class="aside_spacer"><div id="right_aside_wrapper"><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></div></div></aside> + <aside id="region_3" class="d-none d-xl-block"><div class="aside_spacer_top_right"></div><div class="aside_spacer_right"><div id="right_aside_wrapper" class="aside_wrapper"><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></div></div></aside> </div> </div> </main> diff --git a/view/php/theme_init.php b/view/php/theme_init.php index a0118fa71..bf34f210a 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -20,7 +20,6 @@ head_add_js('autocomplete.js'); head_add_js('/library/jquery.timeago.js'); head_add_js('/library/readmore.js/readmore.js'); -head_add_js('/library/sticky-kit/sticky-kit.min.js'); head_add_js('/library/jgrowl/jquery.jgrowl.min.js'); head_add_js('/library/sjcl/sjcl.js'); |