QoL enhacement

This commit is contained in:
2026-07-15 17:52:20 +02:00
parent d53a635495
commit f057ea29d6
4 changed files with 23 additions and 3 deletions

View File

@@ -13454,6 +13454,17 @@ textarea#profile_description {
letter-spacing: 0.5px;
}
.timestamp-link {
color: inherit;
text-decoration: none;
}
.timestamp-link:hover {
text-decoration: underline;
color: var(--accent);
}
.user-infobox-description {
font-size: 0.9em;
line-height: 1.5;

View File

@@ -848,6 +848,15 @@ window.cancelAnimFrame = (function () {
}
});
// Prevent left-click navigation on timestamp links
document.addEventListener('click', (e) => {
if (e.target.closest('.timestamp-link')) {
e.preventDefault();
e.stopPropagation();
e.stopImmediatePropagation();
}
}, true);
// Modal Logic (Login, Forgot, Reset, Register)
const loginBtn = document.getElementById('nav-login-btn');
const loginModal = document.getElementById('login-modal');