From 5eb227b4b72d9aec158c19afa84a218269819aac Mon Sep 17 00:00:00 2001 From: Morten Vestergaard Hansen Date: Thu, 3 Aug 2023 10:41:40 +0200 Subject: [PATCH] Stop flash of unstyled content (#1932) --- .../b2c-custom-layouts/changepassword-unified.html | 9 +++++++++ .../b2c-custom-layouts/forgotpassword-unified.html | 9 +++++++++ .../src/assets/b2c-custom-layouts/login-unified.html | 9 +++++++++ .../b2c-custom-layouts/login-with-mitid-unified.html | 9 +++++++++ .../b2c-custom-layouts/multifactorauth-unified.html | 9 +++++++++ .../src/assets/b2c-custom-layouts/reset-password.html | 9 +++++++++ .../src/assets/b2c-custom-layouts/self-asserted.html | 9 +++++++++ .../src/assets/b2c-custom-layouts/signup-unified.html | 9 +++++++++ .../src/assets/b2c-custom-layouts/totp-unified.html | 8 ++++++++ 9 files changed, 80 insertions(+) diff --git a/libs/dh/shared/assets/src/assets/b2c-custom-layouts/changepassword-unified.html b/libs/dh/shared/assets/src/assets/b2c-custom-layouts/changepassword-unified.html index c93a69cce0..a8fcddd198 100644 --- a/libs/dh/shared/assets/src/assets/b2c-custom-layouts/changepassword-unified.html +++ b/libs/dh/shared/assets/src/assets/b2c-custom-layouts/changepassword-unified.html @@ -64,6 +64,10 @@ .error.itemLevel.show { font-size: 14px; } + + main { + display: none; + } diff --git a/libs/dh/shared/assets/src/assets/b2c-custom-layouts/self-asserted.html b/libs/dh/shared/assets/src/assets/b2c-custom-layouts/self-asserted.html index 6f2a2efd6b..79a2428aad 100644 --- a/libs/dh/shared/assets/src/assets/b2c-custom-layouts/self-asserted.html +++ b/libs/dh/shared/assets/src/assets/b2c-custom-layouts/self-asserted.html @@ -107,6 +107,10 @@ display: block !important; margin-top: 1.5rem; } + + main { + display: none; + }