diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-02-22 11:26:50 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-02-22 11:40:53 +0100 |
commit | 4a156bb9d179e07e8dc1d7268862c462891ff779 (patch) | |
tree | bd1b37179896ea73ab487312e6008975bda3d167 /apps | |
parent | 5bda7f84b50ab33aee245d78872f16076efaeefe (diff) | |
download | nextcloud-server-4a156bb9d179e07e8dc1d7268862c462891ff779.tar.gz nextcloud-server-4a156bb9d179e07e8dc1d7268862c462891ff779.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')
-rw-r--r-- | apps/files_sharing/css/public.css | 5 |
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; |