From 806f3bddecbd8182f1da90ec91e2a03a1a6e2c3b Mon Sep 17 00:00:00 2001
From: Georg Ehrke <georg@ownCloud.com>
Date: Wed, 26 Jun 2013 18:19:10 +0200
Subject: [PATCH] increase size of preview to size of row

---
 apps/files/css/files.css | 2 +-
 lib/helper.php           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index be29186cbb..222cc9c83e 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -118,7 +118,7 @@ table td.filename a.name {
 }
 table tr[data-type="dir"] td.filename a.name span.nametext {font-weight:bold; }
 table td.filename input.filename { width:100%; cursor:text; }
-table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.2em .5em .5em 0; }
+table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.2em .5em .5em .3em; }
 table td.filename .nametext, .uploadtext, .modified { float:left; padding:.3em 0; }
 .modified {
 	position: absolute;
diff --git a/lib/helper.php b/lib/helper.php
index e8cc81774d..0a8962a531 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -231,7 +231,7 @@ class OC_Helper {
 	 * Returns the path to the preview of the file.
 	 */
 	public static function previewIcon($path) {
-		return self::linkToRoute( 'core_ajax_preview', array('x' => 32, 'y' => 32, 'file' => $path));
+		return self::linkToRoute( 'core_ajax_preview', array('x' => 44, 'y' => 44, 'file' => $path));
 	}
 
 	/**
-- 
GitLab