Skip to content

Commit

Permalink
scrolling (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvishalkeerthan authored Oct 8, 2024
1 parent b76097f commit 4cd2b3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,6 @@ html {
.tweet-container_article__0ERPK {
height: 100%;
}
html {
scroll-behavior: smooth;
}
5 changes: 4 additions & 1 deletion src/components/Testimonials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ const tweetIds = [

export default function Testimonials() {
return (
<div className="flex justify-center items-center min-h-fit max-w-[90vw] sm:max-w-[100vw] overflow-hidden flex-col">
<div
id="testimonials"
className="flex justify-center items-center min-h-fit max-w-[90vw] sm:max-w-[100vw] overflow-hidden flex-col"
>
<div className="w-full h-fit flex flex-col items-center">
<h2 className="font-bold text-2xl md:text-4xl">Testimonials</h2>
<p className="text-sm md:text-base py-2 font-semibold text-[#64748B] dark:text-[#94A3B8]">
Expand Down

0 comments on commit 4cd2b3d

Please sign in to comment.