aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-11-20 00:17:28 +0200
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-11-20 00:17:28 +0200
commitbe3bab49460274e9cce5b92b9e66435d1b622a8e (patch)
tree777725b55cfcbb9fe11c345b8205b25777ae41e8
parent6b39f3b6a7a4b45b454cf5db9ad71d5d72e5dc8a (diff)
downloadforums-be3bab49460274e9cce5b92b9e66435d1b622a8e.tar
forums-be3bab49460274e9cce5b92b9e66435d1b622a8e.tar.gz
forums-be3bab49460274e9cce5b92b9e66435d1b622a8e.tar.bz2
forums-be3bab49460274e9cce5b92b9e66435d1b622a8e.tar.xz
forums-be3bab49460274e9cce5b92b9e66435d1b622a8e.zip
[ticket/11979] Fix errors in dropdown
PHPBB3-11979
-rw-r--r--phpBB/adm/style/admin.css3
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js4
-rw-r--r--phpBB/styles/prosilver/theme/common.css3
3 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index 512c714fcc..7472788a0a 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -2363,11 +2363,14 @@ fieldset.permissions .padding {
.dropdown .dropdown-contents {
z-index: 2;
overflow: hidden;
+ overflow-y: auto;
background: #fff;
border: 1px solid #b9b9b9;
border-radius: 5px;
padding: 5px;
position: relative;
+ min-width: 40px;
+ max-height: 200px;
box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.2);
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index d4653c1be3..a45f750a63 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -460,8 +460,8 @@ function parse_document(container)
if ($this.hasClass('dropdown-up')) options.verticalDirection = 'up';
if ($this.hasClass('dropdown-down')) options.verticalDirection = 'down';
- if ($this.hasClass('dropdown-left')) options.verticalDirection = 'left';
- if ($this.hasClass('dropdown-right')) options.verticalDirection = 'right';
+ if ($this.hasClass('dropdown-left')) options.direction = 'left';
+ if ($this.hasClass('dropdown-right')) options.direction = 'right';
phpbb.registerDropdown(trigger, contents, options);
});
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css
index 41cfb37cf2..a133d62239 100644
--- a/phpBB/styles/prosilver/theme/common.css
+++ b/phpBB/styles/prosilver/theme/common.css
@@ -522,10 +522,13 @@ ul.linklist.bulletin li.no-bulletin:before {
.dropdown .dropdown-contents {
z-index: 2;
overflow: hidden;
+ overflow-y: auto;
border: 1px solid transparent;
border-radius: 5px;
padding: 5px;
position: relative;
+ min-width: 40px;
+ max-height: 200px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;