Aleksander Machniak
2013-06-23 3a0f8227679af7199c0fe4d7ac1bdcf4f68cd943
Improve screen min-width calculation
2 files modified
13 ■■■■ changed files
skins/larry/mail.css 1 ●●●● patch | view | raw | blame | history
skins/larry/ui.js 12 ●●●● patch | view | raw | blame | history
skins/larry/mail.css
@@ -388,7 +388,6 @@
    position: absolute;
    right: 0;
    top: 0;
    width: 400px;
}
#mailpreviewtoggle {
skins/larry/ui.js
@@ -204,12 +204,6 @@
      }
    }
    // set min-width to show all toolbar buttons
    var screen = $('.minwidth');
    if (screen.length) {
      screen.css('min-width', $('.toolbar').width() + $('#quicksearchbar').parent().width() + 20);
    }
    // turn a group of fieldsets into tabs
    $('.tabbed').each(function(idx, elem){ init_tabs(elem); })
@@ -247,6 +241,12 @@
        });
    });
    // set min-width to show all toolbar buttons
    var screen = $('body > div.minwidth');
    if (screen.length) {
      screen.css('min-width', $('.toolbar').width() + $('#quicksearchbar').width() + $('#searchfilter').width() + 30);
    }
    $(document.body)
      .bind('mouseup', body_mouseup)
      .bind('keyup', function(e){