From d463edaf0943b82b2f3faeb0f134f9b88d28c32c Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Thu, 16 Jan 2014 15:56:18 +0100
Subject: [PATCH] on mobile, show single shared image at full width without
 margin

---
 apps/files_sharing/css/mobile.css | 7 +++++++
 apps/files_sharing/css/public.css | 8 +++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css
index 3578aff17f..2118cd31e4 100644
--- a/apps/files_sharing/css/mobile.css
+++ b/apps/files_sharing/css/mobile.css
@@ -19,5 +19,12 @@ table tr:focus td.filename .nametext {
 	max-width: 60% !important;
 }
 
+/* on mobile, show single shared image at full width without margin */
+#imgframe {
+	width: 100%;
+	padding: 0;
+	margin-bottom: 35px;
+}
+
 
 }
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 75c37f6a1c..d593d353dd 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -60,9 +60,11 @@ p.info a {
 }
 
 #imgframe {
-	width: 100%;
-	padding: 0;
-	margin-bottom: 35px;
+	height:75%;
+	padding-bottom:2em;
+	padding-top:2em;
+	width:80%;
+	margin:0 auto;
 }
 
 #imgframe img {
-- 
GitLab