aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/css/public.css
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-02-22 11:26:50 +0100
committerVincent Petry <pvince81@owncloud.com>2016-02-22 11:26:50 +0100
commit642190f333c8d202abd097ef7c9b21e2fd7b51a4 (patch)
treedc60e9147537092e3c0e051422f76e5f74b9fd38 /apps/files_sharing/css/public.css
parent43a4990f09f7e4d9d4529691c8f7918adcc87ea5 (diff)
downloadnextcloud-server-642190f333c8d202abd097ef7c9b21e2fd7b51a4.tar.gz
nextcloud-server-642190f333c8d202abd097ef7c9b21e2fd7b51a4.zip
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.
Diffstat (limited to 'apps/files_sharing/css/public.css')
-rw-r--r--apps/files_sharing/css/public.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
index 87222673972..d09947dab26 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;