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:
parent
43a4990f09
commit
642190f333
|
@ -3,6 +3,11 @@
|
||||||
min-height: calc(100vh - 120px);
|
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 {
|
#preview {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in New Issue