From b97a33d28e7f208e6c0c80f0a3297512f9abeaca Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 19 Jan 2021 17:43:54 +0100 Subject: [PATCH] Fix footer issues in the static pages --- customize.dist/pages/index.js | 2 +- customize.dist/src/less2/include/infopages.less | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/customize.dist/pages/index.js b/customize.dist/pages/index.js index dc100c554..ef51d18b3 100644 --- a/customize.dist/pages/index.js +++ b/customize.dist/pages/index.js @@ -133,8 +133,8 @@ define([ ]), blocks, ]), + Pages.infopageFooter(), ]), - Pages.infopageFooter(), ]; }; }); diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index 535b2afe8..354493e1f 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -37,6 +37,16 @@ body { margin: 0; font-size: 16px; font-family: @colortheme_font; + + #cp-main { + display: flex; + flex-flow: column; + min-height: 100vh; + & > .cp-container { + flex: 1; + } + } + .cp-container { font-size: 16px; padding-top: @infopages_padding; @@ -121,6 +131,8 @@ body { background-color: @footer-color; padding-top: 20px; + align-self: normal; // override align-items:center from parent in index.html + .container { margin-bottom: 20px; a {