Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

fix: prevent mobile zoom on input focus by enforcing minimum font size

Jean-Baptiste Kaiser028629316bb1
diff --git a/src/index.css b/src/index.css
index ce62e6cf..7d43c3ac 100644
--- a/src/index.css
+++ b/src/index.css
@@ -139,6 +139,15 @@ input {
cursor: text;
}
+/* Prevent mobile zoom on input focus by ensuring 16px minimum font size */
+@media screen and (max-width: 768px) {
+ input,
+ textarea,
+ select {
+ font-size: 16px !important;
+ }
+}
+
a[aria-disabled="true"],
button[aria-disabled="true"],
button:disabled,