diff options
Diffstat (limited to 'view/theme')
-rw-r--r-- | view/theme/redbasic/css/style.css | 3 | ||||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 7 |
2 files changed, 1 insertions, 9 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index f6403e9e7..091ad292e 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -8,8 +8,8 @@ /* generals */ html { - height: 100%; font-size: 100%; + overflow-x: hidden; } body { @@ -21,7 +21,6 @@ body { background-size: cover; color: $font_colour; margin: 0px; - height: 100%; overflow-x: hidden; } diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index e31458b4e..b7993ce90 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -30,13 +30,6 @@ $(document).ready(function() { } }); - $(window).on('scroll', function() { - if($('main').hasClass('region_1-on') && $(window).scrollLeft() > 5){ - $(window).scrollLeft(0); - toggleAside(); - } - }); - if($('aside').length && $('aside').html().length === 0) { $('#expand-aside').hide(); } |