From 0fe0cfc185d4c6856040f6cc662f9d2a2da8acb6 Mon Sep 17 00:00:00 2001 From: Leho Kraav Date: Tue, 25 Apr 2023 12:54:05 +0300 Subject: [PATCH] fix(cxl-ui): wip force container height https://app.clickup.com/t/ptfgc9 --- packages/cxl-ui/scss/cxl-app-layout/_layout.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/cxl-ui/scss/cxl-app-layout/_layout.scss b/packages/cxl-ui/scss/cxl-app-layout/_layout.scss index f09484f00..df8312669 100644 --- a/packages/cxl-ui/scss/cxl-app-layout/_layout.scss +++ b/packages/cxl-ui/scss/cxl-app-layout/_layout.scss @@ -23,6 +23,13 @@ $toggle-icon: "lumo:angle-right"; :host([layout^="2c"]) { main { > slot:not([name]) { + /** + * Force Action Bar to bottom on short content. + * + * @todo Same problem on all non-wide 1c layouts. + */ + min-height: 100%; + /** * Wrap layout, space edges. */ @@ -57,6 +64,7 @@ $toggle-icon: "lumo:angle-right"; /** * Sticky footer. + * @todo Short content on non-wide also wants `100vh`. */ :host([wide]) { display: flex;