Maybe mobile UI fix, add hardcoded unstable message

This commit is contained in:
b 2021-01-20 00:22:55 -06:00
parent b41e182454
commit cf80a675f2
2 changed files with 15 additions and 2 deletions

View file

@ -6,8 +6,15 @@ console.log(url_tag);
const BUILD_VERSION = "6.9.7";
function setTitle() {
document.getElementById("header").textContent = "WynnBuilder version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
let text;
if (url_base.includes("hppeng-wynn")) {
text = "WynnBuilder UNSTABLE version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
}
else {
text = "WynnBuilder version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
document.getElementById("header").classList.add("funnynumber");
}
document.getElementById("header").textContent = text;
}
setTitle();

View file

@ -33,6 +33,12 @@
max-height: 50px;
}
.powderinput {
width: 25vw;
height: 10vw;
max-height: 50px;
}
.skpInput, .idInput {
width: 90%;
height: 7vw;