style: change cookies position when less than max-height

This commit is contained in:
Sebastien Hattry 2024-06-05 10:44:22 +02:00
parent 4032f69a6a
commit fbce1c8f25

View file

@ -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;