From e811d7f0f38df92d35a9528f9d6b1ca1a4b5dae7 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 10 Sep 2018 16:25:56 +0000 Subject: [PATCH] f18.js: iOS specific positioning (Forum #82351) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17318 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- www/pgm2/f18.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/pgm2/f18.js b/www/pgm2/f18.js index 80a478688..2254d7558 100644 --- a/www/pgm2/f18.js +++ b/www/pgm2/f18.js @@ -414,7 +414,7 @@ f18_resize() left += hl ? 0 : 40; left += pm ? 0 : 44; var lleft = (pm ? 10 : 52); - $("input.maininput").css({ width:(w-left-(FW_isiOS ? 26 : 24))+'px', + $("input.maininput").css({ width:(w-left-(FW_isiOS ? 36 : 24))+'px', "margin-left":(rm ? "0px" : "10px"), display: hi ? "none":"block"}); $("#menu,#content").css("top", (hi && pm && hl) ? "10px" : "50px"); @@ -422,6 +422,8 @@ f18_resize() $("#menuBtn").toggle(!pm || f18_small); $("#menuBtn").css({ left:(rm ? "auto":"10px"), right:(rm ? "10px":"auto") }); $("#logo") .css({ left:(rm ? "auto":lleft ), right:(rm ? "48px":"auto") }); + if(FW_isiOS) + $("#logo,#menuBtn").css({ top:'12px'}); } function