style(extension): apply UI/UX audit enhancements, consolidate footers, and style capsule badges

This commit is contained in:
KoalaDev
2026-07-12 06:38:26 +02:00
parent bd33ea4804
commit 4fb8e0f53a
4 changed files with 93 additions and 36 deletions
+5 -1
View File
@@ -231,7 +231,11 @@ document.addEventListener('DOMContentLoaded', () => {
const sectionObserver = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
history.replaceState(null, null, '#' + entry.target.id);
if (entry.target.id === 'top') {
history.replaceState(null, null, window.location.pathname + window.location.search);
} else {
history.replaceState(null, null, '#' + entry.target.id);
}
if (forestGreet) forestGreet();
}
});