Skip to content

Commit 9a66d68

Browse files
committed
Disable zoom for login page
1 parent 729d78d commit 9a66d68

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

client/login/wp-login/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010
$image-height: 47px;
1111

12+
/* Disable zoom on touch devices – this can cause login issues for apps */
13+
body.is-section-login {
14+
touch-action: pan-x pan-y;
15+
}
16+
1217
.layout.is-section-login {
1318
position: relative;
1419
min-height: 100%; // Needed for any screen not yet using a StepContainerV2 wireframe (e.g. magic login).

0 commit comments

Comments
 (0)