From 4ef5a31dc9e331370a95255a08a0fbfc5bbd39ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=9Al=C4=99zak?= Date: Mon, 28 Jul 2025 18:33:35 +0200 Subject: [PATCH] fix consent page style on desktop --- web/src/pages/allow/style.scss | 14 +++++++++++--- web/src/shared/scss/base/_base.scss | 6 ++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/web/src/pages/allow/style.scss b/web/src/pages/allow/style.scss index bd8c9e16a0..fe252e197a 100644 --- a/web/src/pages/allow/style.scss +++ b/web/src/pages/allow/style.scss @@ -8,6 +8,13 @@ justify-content: center; align-items: center; justify-items: center; + min-height: 100dvh; + + & > * { + @include media-breakpoint-up(lg) { + min-height: 100dvh; + } + } .logo-container { display: none; @@ -34,8 +41,9 @@ flex-direction: column; ul { - margin-top: 5rem; - margin-bottom: 5rem; + margin: 0; + box-sizing: border-box; + padding: var(--spacing-l) 0; width: 330px; } @@ -45,7 +53,7 @@ button { width: 330px; - margin-bottom: 2rem; + margin-bottom: var(--spacing-s); &:last-of-type { margin: 0; diff --git a/web/src/shared/scss/base/_base.scss b/web/src/shared/scss/base/_base.scss index fd7f04b351..c0acec7c91 100644 --- a/web/src/shared/scss/base/_base.scss +++ b/web/src/shared/scss/base/_base.scss @@ -102,11 +102,13 @@ body { font-family: Poppins, 'Roboto Condensed', Roboto, 'Open Sans', Helvetica, Arial; background: v.$bg-light; overflow-x: hidden; - height: inherit; - max-height: inherit; position: relative; } +#app { + min-height: 100dvh; +} + h1, h2, h3,