@devries-cameron20 / composio-1 / commits / db3760a81
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix: resolve mobile scrolling issues across docs site

Use overflow-x: clip instead of hidden on body to avoid iOS Safari scroll blocking, and replace all vh units with dvh for proper mobile viewport handling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Sushmithamallesh committed Mar 30, 2026 at 22:20 UTC db3760a816d20002d335bba8118355e3ce54f7a8
4 files changed +5 -5
docs/app/(home)/toolkits/layout.tsx
+1 -1
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
2
3 export default function ToolkitsLayout({ children }: { children: ReactNode }) {
4 return (
5 - <main className="min-h-screen">
5 + <main className="min-h-dvh">
6 <div className="mx-auto max-w-6xl px-4 py-12 sm:px-6 lg:px-8">
7 {children}
8 </div>
docs/app/global.css
+2 -2
@@ -248,7 +248,7 @@ a:focus-visible {
248 #nd-sidebar {
249 position: sticky;
250 top: 3.5rem;
251 - height: calc(100vh - 3.5rem);
251 + height: calc(100dvh - 3.5rem);
252 background-color: var(--composio-sidebar);
253 }
254
@@ -561,7 +561,7 @@ p.text-fd-muted-foreground.not-prose:has(> code.text-xs) {
561 ========================================================================== */
562
563 body {
564 - overflow-x: hidden;
564 + overflow-x: clip;
565 transition: max-width 0.3s ease;
566 }
567
docs/app/layout.tsx
+1 -1
@@ -104,7 +104,7 @@ export default function Layout({ children }: LayoutProps<'/'>) {
104 }}
105 />
106 </head>
107 - <body className="flex flex-col min-h-screen font-sans">
107 + <body className="flex flex-col min-h-dvh font-sans">
108 <Analytics />
109 <PostHogProvider>
110 <RootProvider
docs/components/feedback.tsx
+1 -1
@@ -115,7 +115,7 @@ export function Feedback({ page }: FeedbackProps) {
115 animate-in slide-in-from-bottom duration-200 sm:zoom-in-95
116 motion-reduce:animate-none
117 overscroll-contain
118 - max-h-[90vh] overflow-y-auto"
118 + max-h-[90dvh] overflow-y-auto"
119 onClick={(e) => e.stopPropagation()}
120 >
121 <div className="flex items-center justify-between mb-4">