Skip to content

Commit

Permalink
Add scroll-smooth (#1603)
Browse files Browse the repository at this point in the history
  • Loading branch information
SvMak authored Dec 3, 2024
1 parent 6ab3ce6 commit 9a666da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/download/DownloadAccordion.astro
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let downloadOptions = (await getCollection('download')).filter(
id={optionId}
role="region"
aria-labelledby={`${optionId}-trigger`}
class="block"
class="block scroll-mt-44 md:scroll-mt-52"
>
<article>
<Content />
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const headFeedLinks = blogMenu.data.map((e) => {
});
---

<html lang="en">
<html lang="en" class="scroll-smooth">
<head>
<SEO
title={title}
Expand Down

0 comments on commit 9a666da

Please sign in to comment.