Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix: prevent mobile input focus zoom

Multica Eve700e6f3f24af
diff --git a/packages/ui/styles/base.css b/packages/ui/styles/base.css
index eb9b54ee8e..c7f9a51a07 100644
--- a/packages/ui/styles/base.css
+++ b/packages/ui/styles/base.css
@@ -149,4 +149,14 @@
* Progressive enhancement: browsers that don't support it simply ignore the rule. */
text-autospace: ideograph-alpha ideograph-numeric;
}
+
+ @media (max-width: 767px), (pointer: coarse) {
+ input:not([type="button"]):not([type="checkbox"]):not([type="color"]):not([type="file"]):not([type="hidden"]):not([type="image"]):not([type="radio"]):not([type="range"]):not([type="reset"]):not([type="submit"]),
+ textarea,
+ select,
+ [contenteditable]:not([contenteditable="false"]) {
+ /* iOS Safari zooms the page when focused editable text is below 16px. */
+ font-size: 16px !important;
+ }
+ }
}