summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-04 10:06:48 +0200
committerAleksander Machniak <alec@alec.pl>2012-09-04 10:06:48 +0200
commite8b9176031926532a764582812047281e4401352 (patch)
tree95ab93dfa0b64dc582b4b9adabb54337efd9dba1 /skins
parentaf276f21e5364eb65a56b64c3455bc284ff1e2f2 (diff)
Remove (too big) min-width on mail screen
Diffstat (limited to 'skins')
-rw-r--r--skins/larry/addressbook.css1
-rw-r--r--skins/larry/mail.css3
-rw-r--r--skins/larry/styles.css2
-rw-r--r--skins/larry/ui.js6
4 files changed, 8 insertions, 4 deletions
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); })