Spaces:
Running
Running
Commit
·
3d4e862
1
Parent(s):
45c9f16
Fix horizontal scrollbar overflow issue
Browse files
src/app/globals.css
CHANGED
|
@@ -25,7 +25,9 @@
|
|
| 25 |
============================================ */
|
| 26 |
|
| 27 |
html {
|
| 28 |
-
scroll-behavior: auto;
|
|
|
|
|
|
|
| 29 |
}
|
| 30 |
|
| 31 |
body {
|
|
@@ -259,4 +261,4 @@ body {
|
|
| 259 |
.scroll-progress {
|
| 260 |
right: 1rem;
|
| 261 |
}
|
| 262 |
-
}
|
|
|
|
| 25 |
============================================ */
|
| 26 |
|
| 27 |
html {
|
| 28 |
+
scroll-behavior: auto;
|
| 29 |
+
/* Framer Motion handles scroll */
|
| 30 |
+
overflow-x: clip;
|
| 31 |
}
|
| 32 |
|
| 33 |
body {
|
|
|
|
| 261 |
.scroll-progress {
|
| 262 |
right: 1rem;
|
| 263 |
}
|
| 264 |
+
}
|
src/components/ServicesSection.tsx
CHANGED
|
@@ -380,7 +380,7 @@ export default function ServicesSection() {
|
|
| 380 |
<section
|
| 381 |
id="services"
|
| 382 |
ref={sectionRef}
|
| 383 |
-
className="relative bg-[#050505] overflow-
|
| 384 |
style={{ perspective: "1000px", minHeight: "100vh" }}
|
| 385 |
>
|
| 386 |
{/* Full-screen dark overlay to hide other sections */}
|
|
|
|
| 380 |
<section
|
| 381 |
id="services"
|
| 382 |
ref={sectionRef}
|
| 383 |
+
className="relative bg-[#050505] overflow-x-clip"
|
| 384 |
style={{ perspective: "1000px", minHeight: "100vh" }}
|
| 385 |
>
|
| 386 |
{/* Full-screen dark overlay to hide other sections */}
|