summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 7b08aeadd..153abdc21 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -541,7 +541,7 @@ function rcube_mail_ui()
var title = $('.boxtitle', container),
box = $('.listsearchbox', container),
dir = box.is(':visible') ? -1 : 1,
- height = 34 + ($('select', box).length ? 24 : 0);
+ height = 34 + ($('select', box).length ? 22 : 0);
box.slideToggle({
duration: 160,
@@ -553,6 +553,8 @@ function rcube_mail_ui()
box.toggleClass('expanded');
if (box.is(':visible')) {
box.find('input[type=text]').focus();
+ height = 34 + ($('select', box).length ? $('select', box).outerHeight() + 4 : 0);
+ $('.scroller', container).css('top', (title.outerHeight() + height) + 'px');
}
else {
$('a.reset', box).click();