aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-13 12:53:45 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-13 12:53:45 +0100
commitc8678ba5a9e1b5c176de85c94570890baec26b13 (patch)
tree4d22243099613b40eb3c354de4701db3c14927fd /view/theme
parent2ace4c57d0a1b5d0030139c28d7d72e071d8b4d8 (diff)
downloadvolse-hubzilla-c8678ba5a9e1b5c176de85c94570890baec26b13.tar.gz
volse-hubzilla-c8678ba5a9e1b5c176de85c94570890baec26b13.tar.bz2
volse-hubzilla-c8678ba5a9e1b5c176de85c94570890baec26b13.zip
evert "prevent double scrollbar when we have a modal larger than the viewport"
This reverts commit 2ace4c57d0a1b5d0030139c28d7d72e071d8b4d8.
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/style.css1
-rw-r--r--view/theme/redbasic/js/redbasic.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 2c1276430..c6f075479 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -9,6 +9,7 @@
/* generals */
html {
font-size: 100%;
+ overflow-x: hidden;
}
body {
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 6bcdd131f..3ff0c43ae 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -99,13 +99,11 @@ function makeFullScreen(full) {
function toggleAside() {
$('#expand-aside-icon').toggleClass('fa-arrow-circle-right').toggleClass('fa-arrow-circle-left');
if($('main').hasClass('region_1-on')){
- $('html').css('overflow-x', '');
$('main').removeClass('region_1-on')
$('#overlay').remove();
$('#left_aside_wrapper').trigger("sticky_kit:detach");
}
else {
- $('html').css('overflow-x', 'hidden');
$('main').addClass('region_1-on')
$('<div id="overlay"></div>').appendTo('section');
$('#left_aside_wrapper').stick_in_parent({