Mobile optimization
authorMarcel Werk <burntime@woltlab.com>
Thu, 1 Aug 2013 17:52:25 +0000 (19:52 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 1 Aug 2013 17:52:25 +0000 (19:52 +0200)
wcfsetup/install/files/style/form.less

index d0e900983ea6c409fa12ad211356960a0431c63f..e2e45fc2e582fde0d6e7056b09bd8bdeadf7fb85 100644 (file)
@@ -468,3 +468,25 @@ select > option {
                margin-top: 14px;
        }
 }
+
+/* disable auto zoom in mobile safari */
+@media only screen and (max-width: 800px) {
+       select,
+       textarea,
+       input[type="text"],
+       input[type="password"],
+       input[type="datetime"],
+       input[type="datetime-local"],
+       input[type="date"],
+       input[type="month"],
+       input[type="time"],
+       input[type="week"],
+       input[type="number"],
+       input[type="email"],
+       input[type="url"],
+       input[type="search"],
+       input[type="tel"],
+       input[type="color"] {
+               font-size: 16px;
+       }
+}
\ No newline at end of file