Skip to content

Commit

Permalink
Try faster transformation and restore WM workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Oct 28, 2023
1 parent 7f87a9f commit 281d468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}

#top, #articleContent, #footer {
transition: transform 0.5s ease;
transition: transform 0.3s ease;
}

#articleListWithHeader {
Expand Down
2 changes: 1 addition & 1 deletion www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit 281d468

Please sign in to comment.