aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-02-17 00:32:38 +0100
committermarijus <mario@mariovavti.com>2015-02-17 00:32:38 +0100
commite0c9929325c4c4493e76f3e6dfe7c4ada63a55ea (patch)
treefb464784a7d0c9e6abe8150c75f624a901faa814 /view/theme/redbasic
parentd9d029470f188796988e002eb90e9dbf96d3dd29 (diff)
downloadvolse-hubzilla-e0c9929325c4c4493e76f3e6dfe7c4ada63a55ea.tar.gz
volse-hubzilla-e0c9929325c4c4493e76f3e6dfe7c4ada63a55ea.tar.bz2
volse-hubzilla-e0c9929325c4c4493e76f3e6dfe7c4ada63a55ea.zip
quickfix for eventual css calc() not supported bug
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r--view/theme/redbasic/js/redbasic.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 4f70752c0..53ee45648 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -1,6 +1,10 @@
$(document).ready(function() {
+if($(window).width() < 767) {
+ $('main').css('width', $(window).width() + 231 );
+}
+
$('#expand-aside').click(function() {
$('#expand-aside-icon').toggleClass('icon-circle-arrow-right').toggleClass('icon-circle-arrow-left');
$('main').toggleClass('region_1-on');