summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-10-18 12:50:58 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-10-18 12:50:58 +0200
commit977f85be924156f799c8f35de9764dac87f91148 (patch)
treeb4455a8641b6edddc179255344957ea44ebdb573
parentc344b64f13e7aa3c87c423cc14e57536d28c40b6 (diff)
Avoid popup menus overflowing the browser window
-rw-r--r--skins/classic/common.css2
-rw-r--r--skins/larry/styles.css2
2 files changed, 4 insertions, 0 deletions
diff --git a/skins/classic/common.css b/skins/classic/common.css
index 3c322f0ed..919cd2153 100644
--- a/skins/classic/common.css
+++ b/skins/classic/common.css
@@ -483,6 +483,8 @@ body.iframe .boxtitle
top: 32px;
left: 90px;
width: auto;
+ max-height: 70%;
+ overflow: auto;
display: none;
background-color: #fff;
background-color: rgba(255, 255, 255, 0.95);
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 4b238c163..c82e9de93 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -1906,6 +1906,8 @@ select.decorated option {
top: 32px;
left: 90px;
width: auto;
+ max-height: 70%;
+ overflow: auto;
background: #444;
border: 1px solid #999;
z-index: 240;