From 582d59eb2e036a9fb4f3fd69355286d96b8bcf9f Mon Sep 17 00:00:00 2001 From: zarifnexus Date: Fri, 14 Aug 2026 14:43:25 +0600 Subject: [PATCH] fix: restore window scrolling on main grid, optimize scroll-to-top, and enhance a11y and link security --- public/global.css | 8 -------- src/Category.svelte | 4 ++-- src/Modal.svelte | 8 ++++---- src/Sidebar.svelte | 2 +- src/scrollToTop.svelte | 13 ++----------- 5 files changed, 9 insertions(+), 26 deletions(-) diff --git a/public/global.css b/public/global.css index 387b730..b94e45e 100644 --- a/public/global.css +++ b/public/global.css @@ -207,14 +207,6 @@ nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(348px, 1fr)); gap: 15px; - max-height: 70vh; - overflow-y: scroll; - -ms-overflow-style: none; - scrollbar-width: none; -} - -.main-grid::-webkit-scrollbar { - display: none; } @media screen and (max-width: 1345px) { diff --git a/src/Category.svelte b/src/Category.svelte index 65f8122..e8c9590 100644 --- a/src/Category.svelte +++ b/src/Category.svelte @@ -69,7 +69,7 @@

{website.name}

{#if website.code && website.code !== null} - + @@ -79,7 +79,7 @@ {/if} - + diff --git a/src/Modal.svelte b/src/Modal.svelte index e97c67a..9276e5c 100644 --- a/src/Modal.svelte +++ b/src/Modal.svelte @@ -60,7 +60,7 @@