From c1a5e9643589233e0e4e131f1b2808c40370cec9 Mon Sep 17 00:00:00 2001 From: Hendrik Leppelsack Date: Tue, 6 Oct 2015 16:17:25 +0200 Subject: [PATCH] fix scrollbars in public template --- apps/files_sharing/css/public.css | 5 +- apps/files_sharing/templates/public.php | 63 +++++++++++++------------ core/css/styles.css | 2 +- 3 files changed, 37 insertions(+), 33 deletions(-) diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css index 2b7e84c987..17356640ae 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -1,7 +1,10 @@ +#content { + height: initial; +} + #preview { background: #fff; text-align: center; - margin: 45px auto 0; min-height: 200px; } diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 06d797c3c6..b5dd653d71 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -86,38 +86,39 @@ $thumbSize = 1024; - -
-
- - - - -
- -
+
+
+
+
+ + - -
+ +
+ +
+ + +
+ + + - - - +
- +
+

+ getLongFooter()); ?> +

+
- diff --git a/core/css/styles.css b/core/css/styles.css index df533aab31..1384f6403e 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -1164,7 +1164,7 @@ div.crumb:active { /* public footer */ #body-public footer { - margin-top: 65px; + position: relative; text-align: center; }