mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 12:08:15 +00:00
style(extension): apply UI/UX audit enhancements, consolidate footers, and style capsule badges
This commit is contained in:
+5
-1
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -360,7 +360,7 @@
|
||||
</nav>
|
||||
|
||||
<main id="main-content">
|
||||
<header class="hero">
|
||||
<header class="hero" id="top">
|
||||
<div class="container hero-grid">
|
||||
<div class="hero-text">
|
||||
<h1>{{HERO_TITLE}}</h1>
|
||||
|
||||
Reference in New Issue
Block a user