From: Marcel Werk Date: Thu, 1 Aug 2013 17:52:25 +0000 (+0200) Subject: Mobile optimization X-Git-Tag: 2.0.0_Beta_7~69 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a51a00f55f40337521afbe087ebacf79ab573c70;p=GitHub%2FWoltLab%2FWCF.git Mobile optimization --- diff --git a/wcfsetup/install/files/style/form.less b/wcfsetup/install/files/style/form.less index d0e900983e..e2e45fc2e5 100644 --- a/wcfsetup/install/files/style/form.less +++ b/wcfsetup/install/files/style/form.less @@ -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