From dcb1c7fa7563b5db2cca314e981bbff923559e93 Mon Sep 17 00:00:00 2001 From: Vignesh Sankar Iyer <68676914+vigneshsankariyer1234567890@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:52:29 +0800 Subject: [PATCH] fix: Incorrect button positioning on email verification (#7579) change mail verification page styling Co-authored-by: Max Peintner --- .../resources/themes/scss/styles/container/container.scss | 6 ++++++ internal/api/ui/login/static/templates/mail_verified.html | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/internal/api/ui/login/static/resources/themes/scss/styles/container/container.scss b/internal/api/ui/login/static/resources/themes/scss/styles/container/container.scss index b52b75a8c0..9ef1e02761 100644 --- a/internal/api/ui/login/static/resources/themes/scss/styles/container/container.scss +++ b/internal/api/ui/login/static/resources/themes/scss/styles/container/container.scss @@ -46,6 +46,12 @@ $lgn-container-bottom-margin: 50px; flex-direction: row-reverse; } + // this is used to center content within the actions container + // required when there is only one element within a lgn-actions container + &.lgn-justify-center { + justify-content: center; + } + .fill-space { flex: 1; } diff --git a/internal/api/ui/login/static/templates/mail_verified.html b/internal/api/ui/login/static/templates/mail_verified.html index 0d01b76c71..2f70107601 100644 --- a/internal/api/ui/login/static/templates/mail_verified.html +++ b/internal/api/ui/login/static/templates/mail_verified.html @@ -13,8 +13,7 @@ -
- +