diff --git a/src/app/exhibits/page.tsx b/src/app/exhibits/page.tsx index 622c4e6..27bfab7 100644 --- a/src/app/exhibits/page.tsx +++ b/src/app/exhibits/page.tsx @@ -34,12 +34,12 @@ function App() { if (hash) { setTimeout(() => { const element = document.querySelector(hash); - const yOffset = -200; + const yOffset = -100; if (element) { const y = element.getBoundingClientRect().top + window.scrollY + yOffset; // check on this offset later - window.scrollTo({ top: y, behavior: 'auto' }); + window.scrollTo({ top: y, behavior: 'smooth' }); } }, 1000); } diff --git a/src/components/userComponents/SiteMap/ExhibitPreviewCard.tsx b/src/components/userComponents/SiteMap/ExhibitPreviewCard.tsx index 07dc1e3..310c951 100644 --- a/src/components/userComponents/SiteMap/ExhibitPreviewCard.tsx +++ b/src/components/userComponents/SiteMap/ExhibitPreviewCard.tsx @@ -145,7 +145,7 @@ function ExhibitPreviewCard({ /> - +

{name1}