From e0c9929325c4c4493e76f3e6dfe7c4ada63a55ea Mon Sep 17 00:00:00 2001 From: marijus Date: Tue, 17 Feb 2015 00:32:38 +0100 Subject: quickfix for eventual css calc() not supported bug --- view/theme/redbasic/js/redbasic.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'view/theme/redbasic/js') 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'); -- cgit v1.2.3