Fixed mobile optimization issue
authorMarcel Werk <burntime@woltlab.com>
Mon, 2 Sep 2013 20:16:36 +0000 (22:16 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 2 Sep 2013 20:16:36 +0000 (22:16 +0200)
wcfsetup/install/files/style/global.less

index e8abe4207b739d9a6825fe4d600c3d9adc4a479c..c4f80a74724f54da0e3831b74968d26729614920 100644 (file)
@@ -379,3 +379,10 @@ a.badge:hover {
                background-color: #c09;
        }
 }
+
+// Preserve HTML font-size when iPhone orientation changes from portrait to landscape
+@media only screen and (max-width: 800px) {
+       html {
+               -webkit-text-size-adjust: 100%;
+       }
+}
\ No newline at end of file