From e8b9176031926532a764582812047281e4401352 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 4 Sep 2012 10:06:48 +0200 Subject: Remove (too big) min-width on mail screen --- skins/larry/addressbook.css | 1 - skins/larry/mail.css | 3 +-- skins/larry/styles.css | 2 +- skins/larry/ui.js | 6 ++++++ 4 files changed, 8 insertions(+), 4 deletions(-) (limited to 'skins/larry') diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css index fe087aece..74bc0d7d8 100644 --- a/skins/larry/addressbook.css +++ b/skins/larry/addressbook.css @@ -34,7 +34,6 @@ position: absolute; top: -6px; left: 0; - right: 260px; height: 40px; white-space: nowrap; z-index: 10; diff --git a/skins/larry/mail.css b/skins/larry/mail.css index d2ff11808..3664e14c9 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -341,7 +341,6 @@ a.iconbutton.threadmode.selected { #messagetoolbar { position: absolute; top: -6px; - right: 390px; left: 0; height: 40px; white-space: nowrap; @@ -362,7 +361,7 @@ a.iconbutton.threadmode.selected { position: absolute; right: 0; top: 0; - width: 240px; + width: 400px; } #mailpreviewtoggle { diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 0a72c5048..ea36260cd 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -660,7 +660,7 @@ a.iconlink.upload { left: 0; bottom: 0; width: 100%; - min-width: 1150px; + min-width: 1024px; } .scroller { diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 176c93b7d..57a1178eb 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -163,6 +163,12 @@ function rcube_mail_ui() } } + // 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); }) -- cgit v1.2.3