Redesign: Prevent page zoom on Safari iOS when focusing new composer (#40608)

This commit is contained in:
diondiondion
2026-09-20 18:33:16 +00:00
committed by GitHub
parent 3cdcf93dd3
commit 398b542652
2 changed files with 7 additions and 0 deletions

View File

@@ -32,6 +32,7 @@
background: none;
font: inherit;
text-decoration: none;
text-align: start;
&:hover {
text-decoration: underline;

View File

@@ -120,6 +120,12 @@
@include mixins.type-body;
padding: var(--space-2);
// Prevent automatic page zoom in Safari when focusing
// text fields with font-sizes below 16px
@media (width <= #{variables.$mobile-menu-breakpoint}) {
font-size: var(--fs-16);
}
}
.textarea {