diff options
author | marijus <mario@mariovavti.com> | 2015-02-17 00:32:38 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2015-02-17 00:32:38 +0100 |
commit | e0c9929325c4c4493e76f3e6dfe7c4ada63a55ea (patch) | |
tree | fb464784a7d0c9e6abe8150c75f624a901faa814 /view/theme/redbasic/js/redbasic.js | |
parent | d9d029470f188796988e002eb90e9dbf96d3dd29 (diff) | |
download | volse-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/js/redbasic.js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 4 |
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'); |