Skip to content

Commit

Permalink
fix #50
Browse files Browse the repository at this point in the history
  • Loading branch information
xqdoo00o authored Oct 7, 2023
1 parent 01cdb59 commit de141a1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="简洁而强大的ChatGPT应用">
<meta name="theme-color" content="#edeff2">
Expand Down Expand Up @@ -3467,6 +3467,12 @@
let toggleRecEv;
const isAndroid = /\bAndroid\b/i.test(navigator.userAgent);
const isApple = /(Mac|iPhone|iPod|iPad)/i.test(navigator.userAgent);
const isPWA = navigator.standalone || window.matchMedia("(display-mode: standalone)").matches;
if (isPWA) {
let bottomEle = document.querySelector(".bottom_wrapper");
let footerEle = document.querySelector(".navFooter");
footerEle.style.marginBottom = bottomEle.style.marginBottom = "8px";
};
const dayMs = 8.64e7;
refreshPage.onclick = () => {
if (confirmAction(translations[locale]["forceReTip"])) {
Expand Down

0 comments on commit de141a1

Please sign in to comment.