.page-layout-show-lite { flex: 1 0 auto; display: flex; flex-direction: column; margin: $primary-padding; .content { flex: 1 0 auto; display: flex; flex-direction: column; } .footer { flex: 0 1 auto; } }