From 281d468eded8d3475ad94acc36aedab5a2c8f7c9 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Sat, 28 Oct 2023 17:29:53 +0100 Subject: [PATCH] Try faster transformation and restore WM workaround --- www/css/app.css | 2 +- www/js/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/css/app.css b/www/css/app.css index de153d808..1f1d0fa0d 100644 --- a/www/css/app.css +++ b/www/css/app.css @@ -73,7 +73,7 @@ } #top, #articleContent, #footer { - transition: transform 0.5s ease; + transition: transform 0.3s ease; } #articleListWithHeader { diff --git a/www/js/app.js b/www/js/app.js index 8c3dbe0d3..bbb2a9bc9 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -127,7 +127,7 @@ function slideAway () { function restoreUIElements () { header.style.transform = 'translateY(0)'; // Needed for Windows Mobile to prevent header disappearing beneath iframe - articleContainer.style.transform = 'translateY(0)'; + articleContainer.style.transform = 'translateY(-1px)'; footer.style.transform = 'translateY(0)'; setTimeout(function () { const headerStyles = getComputedStyle(document.getElementById('top'));