small fixes
Some checks failed
Deploy static content to Pages / deploy (push) Failing after 5s

This commit is contained in:
zyqunix 2025-07-01 19:32:11 +02:00
parent 4f131ff333
commit b96f03f86f
No known key found for this signature in database
GPG key ID: 134A8DEEA83B80E6
5 changed files with 19 additions and 3 deletions

View file

@ -716,7 +716,7 @@ details > summary::-webkit-details-marker {
}
details > summary::before {
content: "";
content: "";
display: inline-block;
margin-right: 6px;
transition: transform 0.2s ease;

View file

@ -65,6 +65,8 @@ export async function writeGithubStats(targetId) {
const registered = data.created_at;
document.getElementById("gh_since").innerText = `Registed on ${registered.slice(0, 10).replace(/-/g, "/")}`;
document.getElementById("gh_since").classList.add("tooltip");
document.getElementById("gh_since").setAttribute("data-tooltip", "In YYYY/MM/DD");
mainEl.appendChild(pfp);
mainEl.appendChild(name);

View file

@ -255,6 +255,8 @@ export async function fetchWakatime(targetId) {
const registered = data.data.start;
document.getElementById("stats_since").innerText = `Registered on ${registered.slice(0, 10).replace(/-/g, "/")}`;
document.getElementById("stats_since").classList.add("tooltip");
document.getElementById("stats_since").setAttribute("data-tooltip", "In YYYY/MM/DD");
const chartDetails = document.createElement("details");
const chartSummary = document.createElement("summary");