Skip to content

Commit

Permalink
Fix scrolling to anchor below navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
codeofandrin committed Jan 7, 2025
1 parent 8f52ab7 commit 5a87f21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/(general)/download/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default async function Download() {
<div className="mt-10">
<h2
id="other-downloads"
className="scroll-mt-20 text-xl font-semibold text-neutral-700 sm:text-2xl">
className="scroll-mt-32 text-xl font-semibold text-neutral-700 sm:text-2xl">
Other downloads
</h2>
<p className="mt-2 text-neutral-600 sm:mt-4"> Need a specific download? Get it here.</p>
Expand Down
2 changes: 1 addition & 1 deletion src/components/root/Features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Features() {
{/* Features */}
<div
id="features"
className="flex scroll-mt-20 flex-col items-center bg-primary-50 px-7 pb-20 sm:pb-40">
className="flex scroll-mt-32 flex-col items-center bg-primary-50 px-7 pb-20 sm:pb-40">
<div className="sm:max-w-screen-xl">
{/* Heading */}
<h1 className="text-3xl font-semibold text-neutral-800 sm:max-w-2xl sm:text-4xl">
Expand Down
2 changes: 1 addition & 1 deletion src/components/root/Pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function Pricing() {

return (
<div className="mt-52 flex w-full flex-col items-center bg-neutral-100 px-7 pb-40 pt-28 sm:pt-36">
<div id="pricing" className="w-full scroll-mt-20 sm:max-w-screen-xl">
<div id="pricing" className="w-full scroll-mt-32 sm:max-w-screen-xl">
{/* Header */}
<h1 className="text-center text-3xl font-semibold text-neutral-800 sm:text-4xl">
<p className="flex flex-col sm:block">
Expand Down

0 comments on commit 5a87f21

Please sign in to comment.