From 8543341b5c87f5643520daf078d8adf40002fc1b Mon Sep 17 00:00:00 2001 From: David Langley Date: Wed, 9 Oct 2024 14:38:09 +0100 Subject: [PATCH 1/2] Fix vertical overflow on the mobile register screen --- res/css/structures/auth/_MobileRegistration.pcss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/res/css/structures/auth/_MobileRegistration.pcss b/res/css/structures/auth/_MobileRegistration.pcss index d50ff8dc1f..66aa8639a2 100644 --- a/res/css/structures/auth/_MobileRegistration.pcss +++ b/res/css/structures/auth/_MobileRegistration.pcss @@ -7,4 +7,6 @@ Please see LICENSE files in the repository root for full details. .mx_MobileRegister_body { padding: 32px; + height: 100vh; + overflow-y: auto; } From 63898d4f4b06449b73219fc3a2972fb5498ecb2f Mon Sep 17 00:00:00 2001 From: David Langley Date: Wed, 9 Oct 2024 15:38:03 +0100 Subject: [PATCH 2/2] Change to border-box to include padding in height so the register button can be scrolled fully in to view. --- res/css/structures/auth/_MobileRegistration.pcss | 1 + 1 file changed, 1 insertion(+) diff --git a/res/css/structures/auth/_MobileRegistration.pcss b/res/css/structures/auth/_MobileRegistration.pcss index 66aa8639a2..e2ba1cba28 100644 --- a/res/css/structures/auth/_MobileRegistration.pcss +++ b/res/css/structures/auth/_MobileRegistration.pcss @@ -9,4 +9,5 @@ Please see LICENSE files in the repository root for full details. padding: 32px; height: 100vh; overflow-y: auto; + box-sizing: border-box; }