From 14ad1ebf533eb211426ad24b862538059b3bfefa Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Thu, 21 Nov 2013 14:45:24 +0100
Subject: [PATCH] Added min width to files table

Having a too small widths for the files table doesn't make sense as it
overlaps file actions with the files themselves and make them
unclickable, especially when viewed on mobile phone.

The compromise that this fix introduces is to have a minimum width that
will trigger horizontal scrolling, which will at least make it possible
to click files on mobile phones.
---
 apps/files/css/files.css | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 5ad9e389c0..e96fa64815 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -65,6 +65,9 @@
 	top: 44px;
 	width: 100%;
 }
+#filestable, #controls {
+	min-width: 680px;
+}
 #filestable tbody tr { background-color:#fff; height:2.5em; }
 #filestable tbody tr:hover, tbody tr:active {
 	background-color: rgb(240,240,240);
-- 
GitLab