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.
This commit is contained in:
Vincent Petry 2016-02-22 11:26:50 +01:00
parent 43a4990f09
commit 642190f333
1 changed files with 5 additions and 0 deletions

View File

@ -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;