From afd723fdcd780f67735505ac132e988b2af547e3 Mon Sep 17 00:00:00 2001
From: Thomas Tanghus <thomas@tanghus.net>
Date: Mon, 3 Jun 2013 02:11:01 +0200
Subject: [PATCH] Let the content determine overflow.

---
 core/css/jquery.ocdialog.css | 1 -
 core/css/styles.css          | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/css/jquery.ocdialog.css b/core/css/jquery.ocdialog.css
index 6342780aa9..c300b031af 100644
--- a/core/css/jquery.ocdialog.css
+++ b/core/css/jquery.ocdialog.css
@@ -19,7 +19,6 @@
 .oc-dialog-content {
 	z-index: 1000;
 	background: white;
-	overflow-y: auto;
 }
 .oc-dialog-separator {
 }
diff --git a/core/css/styles.css b/core/css/styles.css
index 08a277a4ea..78671a7bc1 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -393,6 +393,7 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin
 #oc-dialog-filepicker-content .dirtree span:not(:last-child)::after { content: '>'; padding: 3px;}
 #oc-dialog-filepicker-content .filelist {
 	overflow-y:auto;
+	max-height: 300px;
 	background-color:white;
 	width:100%;
 }
-- 
GitLab