From fbce1c8f25ea4366fe5fa901fe0991f81b992811 Mon Sep 17 00:00:00 2001 From: Sebastien Hattry Date: Wed, 5 Jun 2024 10:44:22 +0200 Subject: [PATCH] style: change cookies position when less than max-height --- src/scss/themes/standard.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scss/themes/standard.scss b/src/scss/themes/standard.scss index b6d211f..3af114e 100644 --- a/src/scss/themes/standard.scss +++ b/src/scss/themes/standard.scss @@ -190,7 +190,7 @@ $cn-w-modal-width: $cn-cookie-modal-width; max-height: $cn-cookie-modal-max-height-mobile; flex-direction: column; align-items: center; - justify-content: flex-end; + justify-content: space-between; padding: 0; border-radius: 0; margin: auto; @@ -252,6 +252,7 @@ $cn-w-modal-width: $cn-cookie-modal-width; // * CONTENT WRAPPER .cn-content { flex-grow: 1; + flex-basis: 100%; padding: 0.8rem; overflow-y: auto;