From 642190f333c8d202abd097ef7c9b21e2fd7b51a4 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Mon, 22 Feb 2016 11:26:50 +0100
Subject: [PATCH] Fix public page footer position in IE

The content element needs hasLayout, so triggering it with a display
attribute.

Without this, the #content element's height would be as high as the
window's height instead of adjusting itself to its contents' height.
---
 apps/files_sharing/css/public.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 8722267397..d09947dab2 100644
--- a/apps/files_sharing/css/public.css
+++ b/apps/files_sharing/css/public.css
@@ -3,6 +3,11 @@
 	min-height: calc(100vh - 120px);
 }
 
+/* force layout to make sure the content element's height matches its contents' height */
+.ie #content {
+	display: inline-block;
+}
+
 #preview {
 	background: #fff;
 	text-align: center;
-- 
GitLab